[mintlocale] fix system wide settings

leigh123linux leigh123linux at fedoraproject.org
Sat May 10 11:23:34 UTC 2014


commit 8e99ecdbef4eee0b329e2a49e7fd504b46bedbf5
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Sat May 10 12:23:50 2014 +0100

    fix system wide settings

 mintlocale.spec       |    5 ++++-
 ui_and_auth_fix.patch |   16 +++++++++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/mintlocale.spec b/mintlocale.spec
index 5eb3934..5589695 100644
--- a/mintlocale.spec
+++ b/mintlocale.spec
@@ -2,7 +2,7 @@
 
 Name:           mintlocale
 Version:        1.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Language selection tool
 License:        GPLv2+
 URL:            http://cinnamon.linuxmint.com
@@ -55,6 +55,9 @@ desktop-file-install                                    \
 %{_datadir}/polkit-1/actions/org.mintlocale.policy
 
 %changelog
+* Sat May 10 2014 Leigh Scott <leigh123linux at googlemail.com> - 1.1-4
+- fix system wide settings
+
 * Sat May 03 2014 Leigh Scott <leigh123linux at googlemail.com> - 1.1-3
 - more fixes
 
diff --git a/ui_and_auth_fix.patch b/ui_and_auth_fix.patch
index c3d8afe..9c36aa5 100644
--- a/ui_and_auth_fix.patch
+++ b/ui_and_auth_fix.patch
@@ -85,4 +85,18 @@
  info = locale.replace(".UTF-8", "")
  language = info.split("_")[0]
 -os.system("sed -e 's/$locale/%s/g' -e 's/$info/%s/g' -e 's/$language/%s/g' /usr/lib/linuxmint/mintLocale/default_locale.template > /etc/default/locale" % (locale, info, language))
-+os.system("sed -e 's/$locale/%s/g' -e 's/$info/%s/g' -e 's/$language/%s/g' /usr/lib/linuxmint/mintLocale/default_locale.template > /etc/locale.conf" % (locale, info, language))
++os.system("sed -e 's/$locale/%s/g' /usr/lib/linuxmint/mintLocale/default_locale.template > /etc/locale.conf" % (locale))
+--- a/usr/lib/linuxmint/mintLocale/default_locale.template
++++ b/usr/lib/linuxmint/mintLocale/default_locale.template
+@@ -1,11 +1 @@
+ LANG="$locale"
+-LANGUAGE="$info:$language"
+-LC_NUMERIC="$locale"
+-LC_TIME="$locale"
+-LC_MONETARY="$locale"
+-LC_PAPER="$locale"
+-LC_IDENTIFICATION="$locale"
+-LC_NAME="$locale"
+-LC_ADDRESS="$locale"
+-LC_TELEPHONE="$locale"
+-LC_MEASUREMENT="$locale"


More information about the scm-commits mailing list