uninstall

wget https://github.com/Linux123123/pterodactyl-installer/raw/unninstall/uninstall.sh
wget https://github.com/Linux123123/pterodactyl-installer/raw/unninstall/uninstall.sh
and
bash uninstall.sh
bash uninstall.sh
11 Replies
vilhelm
vilhelm5y ago
is it ready for merge yet?
Linux123123
Linux123123OP5y ago
ready-ish
vilhelm
vilhelm5y ago
let me know once it is ready
Linux123123
Linux123123OP5y ago
Well it is ready for review
vilhelm
vilhelm5y ago
alright 👍
Linux123123
Linux123123OP5y ago
Should the uninstall script use set -e? because something might fail if for example the installation wasn't fully completed
DjaydenR
DjaydenR5y ago
is this wworking?
Linux123123
Linux123123OP5y ago
yes though experimental
vilhelm
vilhelm5y ago
Can you use set -e but handle all cases where "failure" is acceptable (if that makes sense)?
Linux123123
Linux123123OP5y ago
That is a lot of checking
vilhelm
vilhelm5y ago
If you think it is not suitable, then don't use set -e. It should be very clear to the user of the script if the script didn't quite finish perfectly, is the main goal at least.

Did you find this page helpful?