summaryrefslogtreecommitdiff
path: root/snap/hooks/install
diff options
context:
space:
mode:
Diffstat (limited to 'snap/hooks/install')
-rwxr-xr-xsnap/hooks/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/snap/hooks/install b/snap/hooks/install
index 98469fe..c34abf4 100755
--- a/snap/hooks/install
+++ b/snap/hooks/install
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# DO NOT MODIFY MANUALLY
# This helper installs the polkit policy file
# for the RiseupVPN snap.
@@ -22,5 +22,5 @@ if 'ID=debian' in release:
desktop_path = "/usr/share/applications/riseup-vpn.desktop"
if os.path.exists(desktop_path):
os.remove(desktop_path)
- os.symlink("/snap/riseup-vpn/current/snap/gui/riseup-vpn.desktop", desktop_path)
+ os.symlink("/snap/riseup-vpn/current/snap/meta/gui/riseup-vpn.desktop", desktop_path)
subprocess.call(['update-desktop-database'])