Add/Fix Synchronising package index files with debian repositories.

This commit is contained in:
2017-10-22 15:10:18 +02:00
parent 96e1935bc9
commit 25fc6d3b7a
5 changed files with 47 additions and 1 deletions

View File

@ -364,6 +364,17 @@ fi
[[ "$IPV6" = "disabled" ]] && IPV6=""
# - Synchronise package index files with the repository
# -
echononl " Synchronise package index files with the repository.."
apt-get update > /dev/null 2>&1
if [[ $? -eq 0 ]] ; then
echo_ok
else
echo_failed
fi
# - Deinstall debian exim4 packages
# -
echononl " Deinstall debian exim4 packages"