diff options
Diffstat (limited to 'devel/eric4/files/extra-patch-install-i18n.py')
-rw-r--r-- | devel/eric4/files/extra-patch-install-i18n.py | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/devel/eric4/files/extra-patch-install-i18n.py b/devel/eric4/files/extra-patch-install-i18n.py deleted file mode 100644 index 77f78eb03472..000000000000 --- a/devel/eric4/files/extra-patch-install-i18n.py +++ /dev/null @@ -1,43 +0,0 @@ ---- install-i18n.py.orig 2013-08-19 13:16:47.862300000 +0400 -+++ install-i18n.py 2013-10-05 17:55:20.162267518 +0400 -@@ -45,6 +45,7 @@ - # Define the globals. - progName = None - configDir = getConfigDir() -+distDir = None - privateInstall = False - - def usage(rcode = 2): -@@ -71,7 +72,9 @@ - global privateInstall, configDir - - if privateInstall: -- targetDir = configDir -+ targetDir = distDir + getConfig('ericTranslationsDir') -+ if not os.path.exists(targetDir): -+ os.makedirs(targetDir, 0755) - else: - targetDir = getConfig('ericTranslationsDir') - -@@ -97,11 +100,12 @@ - progName = os.path.basename(argv[0]) - - try: -- optlist, args = getopt.getopt(argv[1:],"hp") -+ optlist, args = getopt.getopt(argv[1:],"hp:") - except getopt.GetoptError: - usage() - - global platBinDir -+ global distDir - - depChecks = 1 - -@@ -110,6 +114,7 @@ - usage(0) - elif opt == "-p": - privateInstall = 1 -+ distDir = os.path.normpath(arg) - - installTranslations() - |