pointrelease: release_base can only be set after pusuite

上级 6c63d9d0
......@@ -94,7 +94,6 @@ suitename=${suitename:-"jessie"}
suite=$(psql -qAtc "SELECT suite_name FROM suite WHERE codename='${suitename}'")
oldrev=$(psql -qAtc "SELECT version FROM suite WHERE codename='${suitename}'")
newrev=${newrev:-$(( ${oldrev##*.} + 1 ))}
release_base=https://release.debian.org/${pusuite}/${newrev%%.*}/${newrev}
PROGRAM="pointrelease_${suitename}"
# Set some variables
......@@ -104,6 +103,8 @@ case "${suite}" in
*) pusuite=INVALID ;;
esac
release_base=https://release.debian.org/${pusuite}/${newrev%%.*}/${newrev}
wget="wget --ca-directory=/etc/ssl/ca-debian"
# set DEBUG if you want to see a little more logs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册