Last active
January 22, 2025 16:53
-
-
Save abn/2a41cd924553d457e36f29a71b9b8fc0 to your computer and use it in GitHub Desktop.
Jigsaw Outline: Uninstall (purge) the persistent thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# this is not extensively tested, worked for personal use case. | |
# script is intentionally aggressive, use at your own peril :) | |
# reference: https://github.com/Jigsaw-Code/outline-client/issues/648 | |
function uninstall-outline() { | |
set -x | |
sudo systemctl disable --now outline_proxy_controller | |
sudo rm -rf \ | |
/etc/systemd/system/outline_proxy_controller.service \ | |
/usr/local/sbin/OutlineProxyController | |
rm -rf \ | |
~/.config/Outline/ \ | |
~/.cache/outline-client-updater \ | |
~/.config/autostart/Outline-{Client,Manager}.AppImage.desktop | |
locate Outline-{Client,Manager}.AppImage | xargs -I {} rm -rf {} | |
find ~/.local/share/icons \ | |
-name "appimagekit-outline-manager.png" \ | |
-o -name "appimagekit-outline-client.png" \ | |
-delete | |
} | |
read -r -p "Are you sure you want to remove Jigsaw Outline? [y/N] " response | |
{ [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]] && uninstall-outline; } \ | |
|| echo "I got excited for nothing. :(" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One-liner (use at your own risk).
bash -c "$(curl -sL https://gist.githubusercontent.com/abn/2a41cd924553d457e36f29a71b9b8fc0/raw)"