summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn/snap/hooks/remove
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-27 01:52:59 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:14 +0100
commit031a2044a77153b6c2a3e111de17827c8395ea1e (patch)
tree3c013eb9d03366630aa04fe98cee78ae90ba79b0 /pkg/riseupvpn/snap/hooks/remove
parentc9fbec21b700c25d35a03b12df1adbb65f67ff12 (diff)
[pkg] install helpers from snap
Diffstat (limited to 'pkg/riseupvpn/snap/hooks/remove')
-rwxr-xr-xpkg/riseupvpn/snap/hooks/remove7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/riseupvpn/snap/hooks/remove b/pkg/riseupvpn/snap/hooks/remove
new file mode 100755
index 00000000..c7442a26
--- /dev/null
+++ b/pkg/riseupvpn/snap/hooks/remove
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e
+
+echo "Executing remove hook for RiseupVPN"
+rm "/usr/local/sbin/bitmask-root"
+rm "/usr/share/polkit-1/actions/se.leap.bitmask.bundle.policy"
+echo "done"