Merge pull request #628 from tom-ee/bugfix/messaging__package_update_index

fix messaging for __package_update_index
This commit is contained in:
Darko Poljak 2018-02-21 10:03:58 +01:00 committed by GitHub
commit 526e1c9a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -54,11 +54,12 @@ case "$type" in
## check if we need to update:
if [ $currage -ge $maxage ]; then
echo "apt-get --quiet update"
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
fi
else
echo "apt-get --quiet update"
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
fi
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
;;
pacman) echo "pacman --noprogressbar --sync --refresh" ;;
*)