[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4012 - in glibc-package/trunk/debian: . debhelper.in



Author: aurel32
Date: 2009-11-23 23:02:01 +0000 (Mon, 23 Nov 2009)
New Revision: 4012

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/debhelper.in/locales.postinst
Log:
  * debhelper.in/locales.postinst: if an selected entry is present more than 
    once, only uncomment the first one.  Closes: #529368.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-11-23 19:47:11 UTC (rev 4011)
+++ glibc-package/trunk/debian/changelog	2009-11-23 23:02:01 UTC (rev 4012)
@@ -1,4 +1,4 @@
-eglibc (2.10.2-2) UNRELEASED; urgency=low
+eglibc (2.10.2-2) unstable; urgency=low
 
   [ Carlos O'Donell]
   * debian/patches/hppa/cvs-nptl-compat.diff: new version to fix 
@@ -9,8 +9,10 @@
     Closes: #556945.
   * patches/localedata/submitted-pt_BR.diff: new patch to fix the thousand
     separator on pt_BR locale.  Closes: #474479.
+  * debhelper.in/locales.postinst: if an selected entry is present more than 
+    once, only uncomment the first one.  Closes: #529368.
 
- -- Aurelien Jarno <aurel32@debian.org>  Mon, 23 Nov 2009 20:46:07 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Tue, 24 Nov 2009 00:01:15 +0100
 
 eglibc (2.10.2-1) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/debhelper.in/locales.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales.postinst	2009-11-23 19:47:11 UTC (rev 4011)
+++ glibc-package/trunk/debian/debhelper.in/locales.postinst	2009-11-23 23:02:01 UTC (rev 4012)
@@ -53,7 +53,7 @@
 
         # Uncomment selected locales
         echo "$SELECTED_LOCALES" | while read locale ; do
-            sed -i -e "s/^[# ]*$locale *$/$locale/" $LG
+            sed -i -e "0,/^[# ]*$locale *$/ s/^[# ]*$locale *$/$locale/" $LG
         done
     fi
 


Reply to: