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

r1204 - in glibc-package/trunk/debian: . local/usr_sbin



Author: barbier
Date: 2006-02-21 23:02:15 +0000 (Tue, 21 Feb 2006)
New Revision: 1204

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/local/usr_sbin/locale-gen
Log:
locale-gen: Replace 'test ... -a ...' by two tests.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-02-21 21:35:16 UTC (rev 1203)
+++ glibc-package/trunk/debian/changelog	2006-02-21 23:02:15 UTC (rev 1204)
@@ -20,6 +20,7 @@
    * Check first_weekday fields against current CLDR snapshot.  Modified
      locales are *_GB (=2), ar_SY (=5), ms_MY (=2), id_ID (=2).  Add 
      this field to more locales.
+   * locale-gen: Replace 'test ... -a ...' by two tests.
    * Add an "All locales" option to the locales/locales_to_be_generated
      template.  When it is selected, /etc/locale.gen is a symlink to
      /usr/share/i18n/SUPPORTED.  (Closes: #321580, #323013)

Modified: glibc-package/trunk/debian/local/usr_sbin/locale-gen
===================================================================
--- glibc-package/trunk/debian/local/usr_sbin/locale-gen	2006-02-21 21:35:16 UTC (rev 1203)
+++ glibc-package/trunk/debian/local/usr_sbin/locale-gen	2006-02-21 23:02:15 UTC (rev 1204)
@@ -9,7 +9,8 @@
 fi
 
 
-[ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0;
+[ -f $LOCALEGEN ] || exit 0;
+[ -s $LOCALEGEN ] || exit 0;
 
 KEEP=
 if [ "$1" = '--keep-existing' ]; then



Reply to: