diff --git a/modules/upgrade_dist.sh b/modules/upgrade_dist.sh index 0d84bca..e3b1384 100644 --- a/modules/upgrade_dist.sh +++ b/modules/upgrade_dist.sh @@ -13,12 +13,15 @@ # * PROXYAPTPORT: Working port for APT proxy # ------------------------------------------------------------------------------ -export VER_upgrade_dist="0.0.8" +export VER_upgrade_dist="0.0.9" upgrade_dist() { local proxyfile=/etc/apt/apt.conf.d/00proxy + # We backup entire apt dir as future version will normalise source.list files + backupdist /etc/apt + prnt I "Configuration du proxy pour APT..." if [[ $PROXYAPT ]]; then if [[ ! -d $(dirname $proxyfile) ]]; then @@ -27,7 +30,6 @@ upgrade_dist() die 60 ) fi - backupdist $proxyfile echo "# Generated automatically on $(stdtime) by $0" > $proxyfile echo "Acquire::http::Proxy \"http://${PROXYAPT}:${PROXYAPTPORT}\";" >> $proxyfile else