aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/onionshare-fix-install-paths.patch
blob: 721b89f04bbe80f84aa74b3e4e59f9a592cd146e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 7afdd3366711a0c508bfb9323af8f4268ab77c9b Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Thu, 21 Jul 2016 13:22:45 +0300
Subject: [PATCH] patch

---
 setup.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/setup.py b/setup.py
index 8ae56fe..8b245c9 100644
--- a/setup.py
+++ b/setup.py
@@ -91,15 +91,15 @@ setup(
     include_package_data=True,
     scripts=['install/scripts/onionshare', 'install/scripts/onionshare-gui'],
     data_files=[
-        (os.path.join(sys.prefix, 'share/applications'), ['install/onionshare.desktop']),
-        (os.path.join(sys.prefix, 'share/appdata'), ['install/onionshare.appdata.xml']),
-        (os.path.join(sys.prefix, 'share/pixmaps'), ['install/onionshare80.xpm']),
-        (os.path.join(sys.prefix, 'share/onionshare'), [
+        ('share/applications', ['install/onionshare.desktop']),
+        ('share/appdata', ['install/onionshare.appdata.xml']),
+        ('share/pixmaps', ['install/onionshare80.xpm']),
+        ('share/onionshare', [
             'resources/version.txt',
             'resources/wordlist.txt'
         ]),
-        (os.path.join(sys.prefix, 'share/onionshare/images'), images),
-        (os.path.join(sys.prefix, 'share/onionshare/locale'), locale),
-        (os.path.join(sys.prefix, 'share/onionshare/html'), html)
+        ('share/onionshare/images', images),
+        ('share/onionshare/locale', locale),
+        ('share/onionshare/html', html)
     ]
 )
-- 
2.9.1