Skip to content

Commit

Permalink
fix(linux-installer): uninstall raw flow (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
doums authored Jan 31, 2025
1 parent 7e366d4 commit 500f0e9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .pkg/linux/install
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ _install() {
fi

cleanup
log "\n${BI_GRN}done$RS"
log "\n${BI_MGT}DONE$RS"
}

_uninstall_raw() {
Expand Down Expand Up @@ -605,7 +605,9 @@ _uninstall_raw() {
fi
fi

[[ "$_vpnd" == 0 ]] && stop_vpnd_service
if [ "$_vpnd" == 0 ]; then
stop_vpnd_service
fi
}

_uninstall_deb() {
Expand Down Expand Up @@ -637,7 +639,7 @@ if [ "$1" == uninstall ]; then
else
_uninstall_deb
fi
log "\n${BI_GRN}done$RS"
log "\n${BI_MGT}DONE$RS"
exit 0
fi

Expand Down

0 comments on commit 500f0e9

Please sign in to comment.