Fix new checkservices location (archlinux-contrib)

This commit is contained in:
Tobias Reisinger 2020-11-01 22:52:59 +01:00
parent f2c889910f
commit 0474b35031
3 changed files with 3 additions and 4 deletions

23
.local/bin/archlinux-update Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/sh
yay -Syu
if [ $? -eq 0 ]; then
echo "UPDATE SUCCEDEED"
else
echo "UPDATE FAILED"
exit 1
fi
echo "==================================================================="
sudo checkservices
if [ $? -eq 0 ]; then
echo "CHECKSERVICES SUCCEDEED"
else
echo "CHECKSERVICES FAILED"
exit 1
fi