summaryrefslogtreecommitdiff
path: root/branding/templates/snap/hooks/remove
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-07 22:49:24 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-07 23:03:45 +0200
commitdbe330b8796ca9f403b5d5fe2133726ba504a803 (patch)
treea7b0ff095ebf574239719b316af0b204fad0b312 /branding/templates/snap/hooks/remove
parentcefd0857d1f6d798fedd2e6495a026d0b1de936b (diff)
[pkg] missing snap boilerplate
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"