2020-09-22 18:46:37 +00:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
|
|
|
yay -Syu
|
|
|
|
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "UPDATE SUCCEDEED"
|
|
|
|
else
|
|
|
|
echo "UPDATE FAILED"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "==================================================================="
|
|
|
|
|
|
|
|
|
2020-11-01 21:52:59 +00:00
|
|
|
sudo checkservices
|
2020-09-22 18:46:37 +00:00
|
|
|
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "CHECKSERVICES SUCCEDEED"
|
|
|
|
else
|
|
|
|
echo "CHECKSERVICES FAILED"
|
|
|
|
exit 1
|
|
|
|
fi
|