diff --git a/.local/libexec/cron/checkup b/.local/libexec/cron/checkup index 1ba6be37..7b78d79e 100755 --- a/.local/libexec/cron/checkup +++ b/.local/libexec/cron/checkup @@ -6,7 +6,7 @@ askupgrade() { [ "$(notify-send -c updates --action=Yes=Yes --action=No=No " Repository Sync" "Updates available. Update now?")" = 'Yes' ] && upgrades } -\xbps-install -Sun 1>/tmp/xbps_updates 2>/tmp/xbps_errors +\xbps-install -SMun 1>/tmp/xbps_updates 2>/tmp/xbps_errors ne="$(grep -c broken /tmp/xbps_errors)" n="$(grep -c -e update -e install /tmp/xbps_updates)" if [ "$n" != "0" ] && [ "$ne" != "0" ]; then