Check system is up to date

This commit is contained in:
m8in
2026-04-01 07:40:10 +02:00
parent 0b003bc8e6
commit ba379320de

View File

@@ -0,0 +1,6 @@
#/bin/bash
[ "$(apt-get -s -o Debug::NoLocking=true upgrade | grep -c -E '^Inst')" = "0" ] \
&& exit 0
exit 1