Add count-updates for ArchLinux(ARM)

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2023-08-18 11:01:14 +02:00
parent 69642a9041
commit 3c883b3808

3
count-updates Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
UPDATES=$(checkupdates | wc -l)
echo "$UPDATES" > ~/.cache/update_count