Ended friendship with doas

This commit is contained in:
Tobias Reisinger 2021-07-13 02:05:40 +02:00
parent eae6adf1d5
commit a7b9cb6d55
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 8 additions and 21 deletions

View file

@ -1,12 +1,6 @@
#!/usr/bin/sh
alias get_priv="sudo"
if [ -x "$(command -v doas)" ]
then
alias get_priv="doas"
fi
get_priv echo
sudo echo
paru -Syu
@ -21,7 +15,7 @@ fi
echo "==================================================================="
get_priv checkservices
sudo checkservices
if [ $? -eq 0 ]; then
echo "CHECKSERVICES SUCCEDEED"