Check system is up to date

This commit is contained in:
m8in committed 2026-04-01 07:40:10 +02:00
1 parent 0b003bc8e6
commit ba379320de
1 file changed
+6
+6
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