Add/Fix Synchronising package index files with debian repositories.
This commit is contained in:
@ -1685,6 +1685,18 @@ fi
|
||||
|
||||
echo -e "\n\n\t\033[37m\033[1mEnable Spellcheccking..\033[m\n"
|
||||
|
||||
# - Synchronise package index files with the repository
|
||||
# -
|
||||
echononl " Synchronise package index files with the repository.."
|
||||
apt-get update > "$log_file" 2>&1
|
||||
if [[ $? -eq 0 ]] ; then
|
||||
echo_ok
|
||||
else
|
||||
echo_failed
|
||||
error "$(cat $log_file)"
|
||||
fi
|
||||
|
||||
|
||||
echononl "\tInstall needed debian packages.."
|
||||
needed_packages_spell=""
|
||||
_needed_packages_spell="
|
||||
|
Reference in New Issue
Block a user