From 58375c45ee1dc7dd3047f1f159199420a28bb278 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Tue, 23 Apr 2024 09:48:05 +0200 Subject: [PATCH] fix checkup script --- .local/libexec/cron/checkup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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