Fix typos

This commit is contained in:
Christer Warén
2025-08-21 17:44:27 +03:00
parent a276adb6d2
commit 43192faed1
3 changed files with 16 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
wx-uninstall(){
wx-header "Uninstall"
if [[ ! -d "$HOME/.warengroup" ]]
if [[ -d "$HOME/.warengroup" ]]
then
rm "$HOME/.warengroup" -rf
fi
@@ -11,4 +11,9 @@ wx-uninstall(){
then
(crontab -l ; grep -v "$CRONJOB_NAME" ; grep -v "$CRONJOB_TASK") | grep -v "no crontab" | crontab -
fi
if [[ -f "$HOME/bin/wx" ]]
then
rm "$HOME/bin/wx" -rf
fi
}

7
wx
View File

@@ -438,7 +438,7 @@ wx-install(){
wx-uninstall(){
wx-header "Uninstall"
if [[ ! -d "$HOME/.warengroup" ]]
if [[ -d "$HOME/.warengroup" ]]
then
rm "$HOME/.warengroup" -rf
fi
@@ -449,6 +449,11 @@ wx-uninstall(){
then
(crontab -l ; grep -v "$CRONJOB_NAME" ; grep -v "$CRONJOB_TASK") | grep -v "no crontab" | crontab -
fi
if [[ -f "$HOME/bin/wx" ]]
then
rm "$HOME/bin/wx" -rf
fi
}
wx-update(){