This commit is contained in:
@@ -124,3 +124,11 @@ echo "CoreDesktop $version"
|
||||
echo "Kernel $kernel"
|
||||
[ -n "$driver" ] && echo "Video driver $driver"
|
||||
echo "Last update $last_update"
|
||||
|
||||
# Packages newer than the mirror's last sync aren't shown above, or installed
|
||||
if age="$(mirror_age_hours)" && (( age >= MIRROR_STALE_HOURS )); then
|
||||
if (( age >= 48 )); then ago="$(( age / 24 )) days"; else ago="$age hours"; fi
|
||||
echo
|
||||
echo -e "\e[33mYour package mirror ($(first_mirror)) last synced with Arch $ago ago, so"
|
||||
echo -e "newer packages may be missing. Run update to switch to up-to-date mirrors.\e[0m"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user