upraven update skript a readme soubor

This commit is contained in:
archos
2024-04-26 15:37:37 +02:00
parent cfa82b9316
commit a98ced551b
2 changed files with 29 additions and 9 deletions

View File

@ -0,0 +1,15 @@
#!/bin/bash
#
##################################################################################################################
# Author : Archos
# Website : https://arch-linux.cz
##################################################################################################################
##################################################################################################################
# Získá počet dostupných aktualizací
updates=$(checkupdates | wc -l)
if [ "$updates" -gt 0 ]; then
echo "$updates updates available"
else
echo "System up-to-date"
fi