summaryrefslogtreecommitdiff
path: root/branding/templates/snap/hooks/remove
diff options
context:
space:
mode:
Diffstat (limited to 'branding/templates/snap/hooks/remove')
-rwxr-xr-xbranding/templates/snap/hooks/remove6
1 files changed, 6 insertions, 0 deletions
diff --git a/branding/templates/snap/hooks/remove b/branding/templates/snap/hooks/remove
new file mode 100755
index 0000000..fd27b85
--- /dev/null
+++ b/branding/templates/snap/hooks/remove
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+echo "Executing remove hook for RiseupVPN"
+rm "/usr/share/polkit-1/actions/se.leap.bitmask.riseupvpn.policy"
+unlink "/usr/share/applications/riseup-vpn.desktop" || echo "did not remove workaround for global desktop entry"
+echo "done"