##// END OF EJS Templates
Update 11-apt.sh
burnbabyburn -
r649:0d6c3ea9b9a8
parent child
Show More
@@ -16,7 +16,7 install_readonly files/apt/sources.list "${ETC_DIR}/apt/sources.list"
16
16
17 # Use specified APT server and release
17 # Use specified APT server and release
18 sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list"
18 sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list"
19 if [ "$APT_INCLUDES_LATE" = "bullseye" ] || [ "$APT_INCLUDES_LATE" = "testing" ]
19 if [ "$APT_INCLUDES_LATE" = "bullseye" ] || [ "$APT_INCLUDES_LATE" = "testing" ] ; then
20 sed -i "s,stretch\\/updates,testing-security," "${ETC_DIR}/apt/sources.list"
20 sed -i "s,stretch\\/updates,testing-security," "${ETC_DIR}/apt/sources.list"
21 else
21 else
22 sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list"
22 sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list"
@@ -28,7 +28,7 chroot_exec apt-get -qq -y -u dist-upgrade
28
28
29 # Install additional packages
29 # Install additional packages
30 if [ "$APT_INCLUDES_LATE" ] ; then
30 if [ "$APT_INCLUDES_LATE" ] ; then
31 chroot_exec apt-get -qq -y install $(echo "$APT_INCLUDES_LATE" |tr , ' ')
31 chroot_exec apt-get -qq -y install "$(echo "$APT_INCLUDES_LATE" |tr , ' ')"
32 fi
32 fi
33
33
34 # Install Debian custom packages
34 # Install Debian custom packages
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant