Ended friendship with doas
This commit is contained in:
parent
eae6adf1d5
commit
a7b9cb6d55
3 changed files with 8 additions and 21 deletions
.local/bin
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue