Add doas config stuff
This commit is contained in:
parent
b44c41f339
commit
3d17d60bc9
5 changed files with 97 additions and 6 deletions
.local/bin
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
yay -Syu
|
||||
paru -Syu
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "UPDATE SUCCEDEED"
|
||||
|
@ -13,7 +13,12 @@ fi
|
|||
echo "==================================================================="
|
||||
|
||||
|
||||
sudo checkservices
|
||||
if [ -x "$(command -v doas)" ]
|
||||
then
|
||||
doas checkservices
|
||||
else
|
||||
sudo checkservices
|
||||
fi
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "CHECKSERVICES SUCCEDEED"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue