allow setting release to sid using DEBIAN_RELEASE env var
This commit is contained in:
parent
03c69d512c
commit
e2c8c58363
|
|
@ -11,6 +11,10 @@ if [[ ! -f $lockfile ]] ; then
|
|||
set -e
|
||||
set -x
|
||||
|
||||
if [ ! -z "$DEBIAN_RELEASE" ]; then
|
||||
sed -i "s, testing , $DEBIAN_RELEASE ," /etc/apt/sources.list
|
||||
fi
|
||||
|
||||
apt-get -qy update
|
||||
apt-get -qy dist-upgrade
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue