2020-09-22 18:46:37 +00:00
|
|
|
#!/usr/bin/sh
|
|
|
|
|
2021-01-31 13:42:35 +00:00
|
|
|
paru -Syu
|
2020-09-22 18:46:37 +00:00
|
|
|
|
|
|
|
if [ $? -eq 0 ]; then
|
|
|
|
echo "UPDATE SUCCEDEED"
|
|
|
|
else
|
|
|
|
echo "UPDATE FAILED"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
echo "==================================================================="
|
|
|
|
|
|
|
|
|
2021-07-13 00:05:40 +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
|