From 70398fb352c483e8940a24cd58f82e484e6d54a7 2018-11-13 03:43:59 From: Unknown Date: 2018-11-13 03:43:59 Subject: [PATCH] 0 --- diff --git a/bootstrap.d/11-apt.sh b/bootstrap.d/11-apt.sh index 1ead2e2..6673340 100644 --- a/bootstrap.d/11-apt.sh +++ b/bootstrap.d/11-apt.sh @@ -29,11 +29,16 @@ if [ "$RELEASE" = "buster" ] ; then fi if [ "$ENABLE_NONFREE" = true ] ; then - netselect-apt --arch "$RELEASE_ARCH" --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" + netselect-apt --arch "$RELEASE_ARCH" --tests 10 --sources --nonfree --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" else - netselect-apt --arch "$RELEASE_ARCH" --sources --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" + netselect-apt --arch "$RELEASE_ARCH" --tests 10 --sources --outfile "${ETC_DIR}/apt/sources.list" -d "$RELEASE" fi +#ipinfo=$(curl ipinfo.io | grep country ) +#grep -o '\"[^"]*\"' $ipinfo | tr -d '"' +#grep -Po '"country":.*?[^\\]",' $(curl ipinfo.io | grep country ) +#sed -i "s,http:,https:,g" "${ETC_DIR}/apt/sources.list" + # Upgrade package index and update all installed packages and changed dependencies chroot_exec apt-get -qq -y update chroot_exec apt-get -qq -y -u dist-upgrade