Code Update

This commit is contained in:
Christer Warén
2024-05-31 23:26:44 +03:00
parent 706a917dbf
commit 0ef3f8d8d6
7 changed files with 42 additions and 38 deletions

View File

@ -9,9 +9,12 @@ wx-stop (){
chmod +x wx &> /dev/null
fi
mkdir $HOME/bin &> /dev/null
curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o $HOME/bin/wx &> /dev/null
chmod +x $HOME/bin/wx &> /dev/null
if [[ $USER != "root" && $USER != "local" ]]
then
mkdir $HOME/bin &> /dev/null
curl https://git.waren.io/warengroup/wx/raw/branch/master/wx -o $HOME/bin/wx &> /dev/null
chmod +x $HOME/bin/wx &> /dev/null
fi
exit 1
}