summaryrefslogtreecommitdiff
path: root/snap/hooks
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-06-28 17:11:00 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-06-28 17:11:00 +0200
commit83a2a5b4937441b55431db3e7cd476c94f1adc25 (patch)
tree60819f3a19104b3dd5329a791c5088685d6bc689 /snap/hooks
parent26748898daa1060593420fcb1d1f4cfa8006be3c (diff)
[bug] use python3, newest ubuntu does not ship python bin
Diffstat (limited to 'snap/hooks')
-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'])