##// END OF EJS Templates
0
Unknown -
r320:70398fb352c4
parent child
Show More
@@ -29,11 +29,16 if [ "$RELEASE" = "buster" ] ; then
29 29 fi
30 30
31 31 if [ "$ENABLE_NONFREE" = true ] ; then
32 netselect-apt --arch "$RELEASE_ARCH" --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE"
32 netselect-apt --arch "$RELEASE_ARCH" --tests 10 --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE"
33 33 else
34 netselect-apt --arch "$RELEASE_ARCH" --sources --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE"
34 netselect-apt --arch "$RELEASE_ARCH" --tests 10 --sources --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE"
35 35 fi
36 36
37 #ipinfo=$(curl ipinfo.io | grep country )
38 #grep -o '\"[^"]*\"' $ipinfo | tr -d '"'
39 #grep -Po '"country":.*?[^\\]",' $(curl ipinfo.io | grep country )
40 #sed -i "s,http:,https:,g" "${ETC_DIR}/apt/sources.list"
41
37 42 # Upgrade package index and update all installed packages and changed dependencies
38 43 chroot_exec apt-get -qq -y update
39 44 chroot_exec apt-get -qq -y -u dist-upgrade
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant