forked from ungleich-public/cdist
Merge pull request #628 from tom-ee/bugfix/messaging__package_update_index
fix messaging for __package_update_index
This commit is contained in:
commit
526e1c9a6d
1 changed files with 2 additions and 1 deletions
|
@ -54,11 +54,12 @@ case "$type" in
|
||||||
## check if we need to update:
|
## check if we need to update:
|
||||||
if [ $currage -ge $maxage ]; then
|
if [ $currage -ge $maxage ]; then
|
||||||
echo "apt-get --quiet update"
|
echo "apt-get --quiet update"
|
||||||
|
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "apt-get --quiet update"
|
echo "apt-get --quiet update"
|
||||||
fi
|
|
||||||
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
|
echo "apt-cache updated (age was: $currage)" >> "$__messages_out"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
pacman) echo "pacman --noprogressbar --sync --refresh" ;;
|
pacman) echo "pacman --noprogressbar --sync --refresh" ;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue