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

Bug#692777: locales: dpkg-reconfigure locales does not generate the locales by wrongly assuming that locales-all is installed



Package: locales
Version: 2.13-35
Tags: patch
Followup-For: Bug #692777

Patch follows:

--- locales.postinst.old	2012-11-09 14:03:40.691380085 +0000
+++ locales.postinst	2012-11-09 14:03:53.623209249 +0000
@@ -58,7 +58,7 @@
     fi
 
     # Update requested locales if locales-all is not installed
-    if dpkg-query -S locales-all >/dev/null 2>&1 ; then
+    if dpkg-query -s locales-all >/dev/null 2>&1 ; then
         echo "locales-all installed, skipping locales generation"
     else
         locale-gen


Reply to: