Update configs

This commit is contained in:
LordMathis
2018-06-10 20:59:46 +02:00
parent de152d1212
commit 32d9cae95f
5 changed files with 27 additions and 29 deletions

View File

@@ -1,12 +1,9 @@
#!/bin/sh
updates_arch=$(checkupdates | wc -l)
updates_aur=$(pacaur -k | wc -l)
updates=$(("$updates_arch" + "$updates_aur"))
if [ "$updates" -gt 0 ]; then
echo " $updates"
if [ "$updates_arch" -gt 0 ]; then
echo " $updates_arch"
else
echo ""
fi