diff options
Diffstat (limited to 'net-misc/electron-cash/files/2.8.0-no-user-root.patch')
-rw-r--r-- | net-misc/electron-cash/files/2.8.0-no-user-root.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/net-misc/electron-cash/files/2.8.0-no-user-root.patch b/net-misc/electron-cash/files/2.8.0-no-user-root.patch deleted file mode 100644 index 2ca5363effe7..000000000000 --- a/net-misc/electron-cash/files/2.8.0-no-user-root.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- ./setup.py.orig 2017-01-06 19:17:44.294137848 +0000 -+++ ./setup.py 2017-01-06 19:17:50.093161327 +0000 -@@ -21,12 +21,6 @@ - parser.add_argument('--root=', dest='root_path', metavar='dir', default='/') - opts, _ = parser.parse_known_args(sys.argv[1:]) - usr_share = os.path.join(sys.prefix, "share") -- if not os.access(opts.root_path + usr_share, os.W_OK) and \ -- not os.access(opts.root_path, os.W_OK): -- 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']), - ] |