23 lines
327 B
Bash
Executable file
23 lines
327 B
Bash
Executable file
#!/usr/bin/sh
|
|
|
|
paru -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
|