fix checkup script
This commit is contained in:
parent
21f335505e
commit
fdf22a79ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue