diff options
Diffstat (limited to 'finance/electrum/files/patch-setup.py')
-rw-r--r-- | finance/electrum/files/patch-setup.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/finance/electrum/files/patch-setup.py b/finance/electrum/files/patch-setup.py index a81ba8815c0f..b76cd3b68df8 100644 --- a/finance/electrum/files/patch-setup.py +++ b/finance/electrum/files/patch-setup.py @@ -1,20 +1,20 @@ ---- ./setup.py.orig 2013-06-09 19:36:25.355293000 +0900 -+++ ./setup.py 2013-06-09 19:45:13.675386000 +0900 +--- ./setup.py.orig 2013-04-07 16:33:32.000000000 +0400 ++++ ./setup.py 2013-06-15 18:56:59.000000000 +0400 @@ -15,14 +15,14 @@ if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Windows' and platform.system() != 'Darwin'): print "Including all files" data_files += [ - ('/usr/share/applications/',['electrum.desktop']), - ('/usr/share/app-install/icons/',['icons/electrum.png']) -+ (os.path.join(sys.prefix, 'share', 'applications'),['electrum.desktop']), -+ (os.path.join(sys.prefix, 'share', 'app-install', 'icons'),['icons/electrum.png']) ++ (os.path.join('%%PREFIX%%', 'share', 'applications'),['electrum.desktop']), ++ (os.path.join('%%PREFIX%%', 'share', 'app-install', 'icons'),['icons/electrum.png']) ] if not os.path.exists('locale'): os.mkdir('locale') for lang in os.listdir('locale'): if os.path.exists('locale/%s/LC_MESSAGES/electrum.mo'%lang): - data_files.append( ('/usr/share/locale/%s/LC_MESSAGES'%lang, ['locale/%s/LC_MESSAGES/electrum.mo'%lang]) ) -+ data_files.append( (os.path.join(sys.prefix, 'share/locale/%s/LC_MESSAGES'%lang), ['locale/%s/LC_MESSAGES/electrum.mo'%lang]) ) ++ data_files.append( (os.path.join('%%PREFIX%%', 'share/locale/%s/LC_MESSAGES'%lang), ['locale/%s/LC_MESSAGES/electrum.mo'%lang]) ) data_files += [ (util.appdata_dir(), ["data/README"]), |