diff options
Diffstat (limited to 'net-misc/electrum-ltc/files/3.1.2-no-user-root.patch')
-rw-r--r-- | net-misc/electrum-ltc/files/3.1.2-no-user-root.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch b/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch deleted file mode 100644 index 0d4781717714..000000000000 --- a/net-misc/electrum-ltc/files/3.1.2-no-user-root.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naur Electrum-3.1.2.orig/setup.py Electrum-3.1.2/setup.py ---- Electrum-3.1.2.orig/setup.py 2018-03-28 04:51:11.000000000 -0400 -+++ Electrum-3.1.2/setup.py 2018-03-31 15:05:45.540757981 -0400 -@@ -28,13 +28,6 @@ - opts, _ = parser.parse_known_args(sys.argv[1:]) - usr_share = os.path.join(sys.prefix, "share") - icons_dirname = 'pixmaps' -- if not os.access(opts.root_path + usr_share, os.W_OK) and \ -- not os.access(opts.root_path, os.W_OK): -- icons_dirname = 'icons' -- if 'XDG_DATA_HOME' in os.environ.keys(): -- usr_share = os.environ['XDG_DATA_HOME'] -- else: -- usr_share = os.path.expanduser('~/.local/share') - data_files += [ - (os.path.join(usr_share, 'applications/'), ['electrum.desktop']), - (os.path.join(usr_share, icons_dirname), ['icons/electrum.png']) |