16
16
# echo "Acquire::http::Proxy \"http://$GATEWAY:3142\";" >> /etc/apt/apt.conf.d/95proxy
17
17
18
18
if [ " upgrade" = " $ACTION " ] ; then
19
- echo " I: Adding jessie sources list"
20
- cp $PREFIX /conf/debian-jessie -sources.list /etc/apt/sources.list
19
+ echo " I: Adding stretch sources list"
20
+ cp $PREFIX /conf/debian-stretch -sources.list /etc/apt/sources.list
21
21
22
22
echo " I: Installing current version of Symbiosis from repo.bytemark.co.uk"
23
23
$PREFIX /bin/apt-get-install $PREFIX /conf/current-stretch-sources.list $PREFIX /conf/stretch-packages
@@ -30,17 +30,17 @@ if [ "upgrade" = "$ACTION" ] ; then
30
30
31
31
elif [ " dist-upgrade" = " $ACTION " ] ; then
32
32
#
33
- # If we're upgrading from squeeze :
33
+ # If we're upgrading from jessie :
34
34
#
35
- if grep -q wheezy /etc/apt/sources.list ; then
36
- echo " I: Installing wheezy version of Symbiosis from repo.bytemark.co.uk"
37
- $PREFIX /bin/apt-get-install $PREFIX /conf/current-wheezy -sources.list $PREFIX /conf/wheezy -packages || true
35
+ if grep -q jessie /etc/apt/sources.list ; then
36
+ echo " I: Installing jessie version of Symbiosis from repo.bytemark.co.uk"
37
+ $PREFIX /bin/apt-get-install $PREFIX /conf/current-jessie -sources.list $PREFIX /conf/jessie -packages || true
38
38
39
- echo " I: Replacing wheezy sources with stretch"
39
+ echo " I: Replacing jessie sources with stretch"
40
40
cp $PREFIX /conf/debian-stretch-sources.list /etc/apt/sources.list
41
41
42
- echo " I: Removing old wheezy symbiosis list"
43
- rm /etc/apt/sources.list.d/current-wheezy -sources.list
42
+ echo " I: Removing old jessie symbiosis list"
43
+ rm /etc/apt/sources.list.d/current-jessie -sources.list
44
44
45
45
# echo "I: clamav with squeeze is a bit ropey, so I'll clear out the freshclam stuff"
46
46
# invoke-rc.d clamav-daemon stop
@@ -57,7 +57,7 @@ elif [ "dist-upgrade" = "$ACTION" ] ; then
57
57
#
58
58
# Now upgrade to stretch
59
59
#
60
- echo " I: Performing dist-upgrade from wheezy "
60
+ echo " I: Performing dist-upgrade from jessie "
61
61
62
62
#
63
63
# If the install has failed, try to start pure-authd and carry on
@@ -73,8 +73,8 @@ elif [ "dist-upgrade" = "$ACTION" ] ; then
73
73
echo " I: ensuring Symbiosis packages are installed"
74
74
$PREFIX /bin/apt-get-install $PREFIX /conf/autotest-sources.list $PREFIX /conf/stretch-packages
75
75
else
76
- echo " I: Adding jessie sources list"
77
- cp $PREFIX /conf/debian-jessie -sources.list /etc/apt/sources.list
76
+ echo " I: Adding stretch sources list"
77
+ cp $PREFIX /conf/debian-stretch -sources.list /etc/apt/sources.list
78
78
79
79
echo " I: Installing latest version of Symbiosis from repo.bytemark.co.uk"
80
80
$PREFIX /bin/apt-get-install $PREFIX /conf/autotest-sources.list $PREFIX /conf/stretch-packages
0 commit comments