tags 563683 + patch
tags 563683 + pending
thanks

Dear maintainer,

I've prepared an NMU for localepurge (versioned as 0.6.2+nmu1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Please note that the debconf translation changes were updated
automatically by the debconf-updatepo call in debian/rules:clean, so
they are an unintended effect of the package rebuild.

Kind regards,
Iustin
diff -Nru localepurge-0.6.2/debian/changelog localepurge-0.6.2+nmu1/debian/changelog
--- localepurge-0.6.2/debian/changelog	2010-01-04 02:29:20.000000000 +0100
+++ localepurge-0.6.2+nmu1/debian/changelog	2010-08-20 00:45:19.000000000 +0200
@@ -1,3 +1,15 @@
+localepurge (0.6.2+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Actually call ucf in the postinst, in order to preserve user changes
+    (Closes: #563683).
+  * Standards version 3.9.1 (no changes needed)
+  * Add dependency on debhelper
+  * Fix syntax errors in NEWS.Debian
+  * Register the configuration file via ucfr, so that ucf knows about it
+
+ -- Iustin Pop <ius...@debian.org>  Fri, 20 Aug 2010 00:45:19 +0200
+
 localepurge (0.6.2) unstable; urgency=low
 
   * Corrected entry in debian/NEWS.Debian file, which falsely attributed
diff -Nru localepurge-0.6.2/debian/control localepurge-0.6.2+nmu1/debian/control
--- localepurge-0.6.2/debian/control	2010-01-04 02:29:20.000000000 +0100
+++ localepurge-0.6.2+nmu1/debian/control	2010-08-20 00:14:00.000000000 +0200
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Paul Seelig <psee...@debian.org>
 Build-Depends: po-debconf, debhelper (>= 5)
-Standards-Version: 3.7.3
+Standards-Version: 3.9.1
 
 Package: localepurge
 Architecture: all
-Depends: locales, ucf, debconf | debconf-2.0, procps | hurd
+Depends: ${misc:Depends}, locales, ucf, debconf | debconf-2.0, procps | hurd
 Suggests: debfoster, deborphan, bleachbit
 Description: Reclaim disk space removing unneeded localizations
  This is a script to recover disk space wasted for unneeded locales,
diff -Nru localepurge-0.6.2/debian/NEWS.Debian localepurge-0.6.2+nmu1/debian/NEWS.Debian
--- localepurge-0.6.2/debian/NEWS.Debian	2010-01-04 02:29:20.000000000 +0100
+++ localepurge-0.6.2+nmu1/debian/NEWS.Debian	2010-08-20 00:20:04.000000000 +0200
@@ -1,10 +1,10 @@
 localepurge (0.6.0) unstable; urgency=low
 
-Thanks to a convenient rewrite of the actual localepurge script by 
-Francesco Potorti, now also all unneeded Gnome/KDE related localization 
-files are considered for removals. 
-
-On a fresh install of a new standard Debian system this can actually 
-free up almost half a GB's worth of disk space. :-)
+    Thanks to a convenient rewrite of the actual localepurge script by
+    Francesco Potorti, now also all unneeded Gnome/KDE related localization 
+    files are considered for removals. 
+    
+    On a fresh install of a new standard Debian system this can actually 
+    free up almost half a GB's worth of disk space. :-)
 
  -- Paul Seelig <psee...@debian.org>  Sat, 25 Jul 2009 20:23:51 +0200
diff -Nru localepurge-0.6.2/debian/po/bg.po localepurge-0.6.2+nmu1/debian/po/bg.po
--- localepurge-0.6.2/debian/po/bg.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/bg.po	2010-08-07 03:30:40.000000000 +0200
@@ -19,6 +19,7 @@
 "PO-Revision-Date: 2005-07-10 23:09+0300\n"
 "Last-Translator: Yavor Doganov <ya...@doganov.org>\n"
 "Language-Team: Bulgarian <d...@fsa-bg.org>\n"
+"Language: bg\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/cs.po localepurge-0.6.2+nmu1/debian/po/cs.po
--- localepurge-0.6.2/debian/po/cs.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/cs.po	2010-08-07 03:30:40.000000000 +0200
@@ -19,6 +19,7 @@
 "PO-Revision-Date: 2006-06-04 16:58+0200\n"
 "Last-Translator: Miroslav Kure <ku...@debian.cz>\n"
 "Language-Team: Czech <debian-l10n-cz...@lists.debian.org>\n"
+"Language: cs\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/da.po localepurge-0.6.2+nmu1/debian/po/da.po
--- localepurge-0.6.2/debian/po/da.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/da.po	2010-08-07 03:30:40.000000000 +0200
@@ -19,6 +19,7 @@
 "PO-Revision-Date: 2005-06-22 12:51+0200\n"
 "Last-Translator: Claus Hindsgaul <clau...@image.dk>\n"
 "Language-Team: Danish <da...@klid.dk>\n"
+"Language: da\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/de.po localepurge-0.6.2+nmu1/debian/po/de.po
--- localepurge-0.6.2/debian/po/de.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/de.po	2010-08-07 03:30:40.000000000 +0200
@@ -20,6 +20,7 @@
 "PO-Revision-Date: 2006-01-03 21:57+0100\n"
 "Last-Translator: Erik Schanze <schan...@gmx.de>\n"
 "Language-Team: German <d...@li.org>\n"
+"Language: de\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/es.po localepurge-0.6.2+nmu1/debian/po/es.po
--- localepurge-0.6.2/debian/po/es.po	2006-11-28 13:15:49.000000000 +0100
+++ localepurge-0.6.2+nmu1/debian/po/es.po	2010-08-07 03:30:40.000000000 +0200
@@ -32,7 +32,9 @@
 "POT-Creation-Date: 2006-08-05 21:45+0200\n"
 "PO-Revision-Date: 2006-11-22 08:02-0500\n"
 "Last-Translator: Rudy Godoy <r...@kernel-panik.org>\n"
-"Language-Team: Debian l10n Spanish team <debian-l10n-span...@lists.debian.org>\n"
+"Language-Team: Debian l10n Spanish team <debian-l10n-span...@lists.debian."
+"org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/eu.po localepurge-0.6.2+nmu1/debian/po/eu.po
--- localepurge-0.6.2/debian/po/eu.po	2009-07-25 20:19:10.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/eu.po	2010-08-07 03:30:40.000000000 +0200
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2009-06-25 23:24+0200\n"
 "Last-Translator: Piarres Beobide <p...@beobide.net>\n"
 "Language-Team: Euskara <debian-l10n-bas...@lists.debian.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -35,10 +36,10 @@
 msgstr ""
 "localepurge-k orain hautatzen dituzun hizkuntza kodeetakoa kenduta zure "
 "sistemako beste lokal guztiak ezabatuko ditu. Normalean \"de\" edo \"eu\" "
-"antzerako bi karaktereetako lokalak \"pt_BR\" edo \"eu_ES\" bezalakoak "
-"baino itzulpen gehiago izaten dituzte eginik. Beraz biak hautatu zure "
-"hizkuntza sostengua hobetzeko. /etc/locale.gen-eko sarrerak aurrehautatuko "
-"dira aurretik konfigurazioa osatu ez bada."
+"antzerako bi karaktereetako lokalak \"pt_BR\" edo \"eu_ES\" bezalakoak baino "
+"itzulpen gehiago izaten dituzte eginik. Beraz biak hautatu zure hizkuntza "
+"sostengua hobetzeko. /etc/locale.gen-eko sarrerak aurrehautatuko dira "
+"aurretik konfigurazioa osatu ez bada."
 
 #. Type: boolean
 #. Description
@@ -53,8 +54,8 @@
 "You chose not to keep any locales. This means that all locales will be "
 "removed from your system. Are you sure this really is what you want?"
 msgstr ""
-"Ez lokalik mantentzea hautatu duzu. Hau dela eta sistematik lokal "
-"guztiak ezabatuko dira. Ziur zaude hau dela nahi duzuna?"
+"Ez lokalik mantentzea hautatu duzu. Hau dela eta sistematik lokal guztiak "
+"ezabatuko dira. Ziur zaude hau dela nahi duzuna?"
 
 #. Type: note
 #. Description
@@ -71,8 +72,8 @@
 "locale.gen of the locales package will then be automagically preselected."
 msgstr ""
 "localepurge ez da erabil ahal izango \"dpkg-reconfigure localepurge\" "
-"komandoaz konfiguratu aurretik. Locales paketeko /etc/locale.gen "
-"fitxategiko konfigurazioak aurrehautatuko dira."
+"komandoaz konfiguratu aurretik. Locales paketeko /etc/locale.gen fitxategiko "
+"konfigurazioak aurrehautatuko dira."
 
 #. Type: boolean
 #. Description
@@ -87,8 +88,8 @@
 "Based on the same locale information you chose above, localepurge can also "
 "delete superfluous localized man pages."
 msgstr ""
-"Goian hautatu duzun lokal argibideetan oinarriturik, localepurge behar ez diren "
-"man orrialdeak ezabatu ditzake."
+"Goian hautatu duzun lokal argibideetan oinarriturik, localepurge behar ez "
+"diren man orrialdeak ezabatu ditzake."
 
 #. Type: boolean
 #. Description
@@ -105,7 +106,12 @@
 "deselect this option to automatically remove new locales you probably "
 "wouldn't care about anyway. If you select this option, you will be given the "
 "opportunity to decide whether to keep or delete newly introduced locales."
-msgstr "Mantentzea hautatu duzun lokalekin pozik bazaude eta ez baduzu lokal berrien edo ezabatuen berri jakin nahi ez hautatu aukera hau ziurrenik ezer jakin nahi ez duzun lokalak automatikoki ezabatzeko. Aukera haut hautatzen baduzu sortu berri diren lokalak mantendu edo ezabatzea erabakitzeko aukera emango zaizu."
+msgstr ""
+"Mantentzea hautatu duzun lokalekin pozik bazaude eta ez baduzu lokal berrien "
+"edo ezabatuen berri jakin nahi ez hautatu aukera hau ziurrenik ezer jakin "
+"nahi ez duzun lokalak automatikoki ezabatzeko. Aukera haut hautatzen baduzu "
+"sortu berri diren lokalak mantendu edo ezabatzea erabakitzeko aukera emango "
+"zaizu."
 
 #. Type: boolean
 #. Description
@@ -119,7 +125,10 @@
 msgid ""
 "localepurge can calculate and display the disk space freed by its operations "
 "and show a saved disk space summary at quitting."
-msgstr "localepurge bere programaturiko ekintzetan libratuko den disko lekua kalkulatu eta bistarazi dezake eta aurrezturiko disko leku laburpena bistarazi irtetean."
+msgstr ""
+"localepurge bere programaturiko ekintzetan libratuko den disko lekua "
+"kalkulatu eta bistarazi dezake eta aurrezturiko disko leku laburpena "
+"bistarazi irtetean."
 
 #. Type: boolean
 #. Description
@@ -137,8 +146,8 @@
 "accurately and is therefore the preferred choice."
 msgstr ""
 "Bi modu erabili daitezke diskoan libraturiko lekua kalkulatzeko. Bata bestea "
-"baino askoz azkarragoa da baina besteak baino zehaztasun gutxiago du "
-"disko leku kalkulua n fitxategi-sisteman aldaketak gertatzen badira. Bestea "
+"baino askoz azkarragoa da baina besteak baino zehaztasun gutxiago du disko "
+"leku kalkulua n fitxategi-sisteman aldaketak gertatzen badira. Bestea "
 "zehatzagoa denez aukera lehenetsia da."
 
 #. Type: boolean
@@ -156,4 +165,3 @@
 msgstr ""
 "localepurge ezabatzen dituen lokal fitxategiak erakusteko konfiguratu "
 "daiteke. Honek irteera luze bat sortu dezake."
-
diff -Nru localepurge-0.6.2/debian/po/fr.po localepurge-0.6.2+nmu1/debian/po/fr.po
--- localepurge-0.6.2/debian/po/fr.po	2009-07-25 20:42:15.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/fr.po	2010-08-07 03:30:40.000000000 +0200
@@ -21,6 +21,7 @@
 "PO-Revision-Date: 2005-11-03 17:42+0100\n"
 "Last-Translator: Christian Perrier <bubu...@debian.org>\n"
 "Language-Team: French <debian-l10n-fre...@lists.debian.org>\n"
+"Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-15\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/gl.po localepurge-0.6.2+nmu1/debian/po/gl.po
--- localepurge-0.6.2/debian/po/gl.po	2007-03-19 10:58:05.000000000 +0100
+++ localepurge-0.6.2+nmu1/debian/po/gl.po	2010-08-07 03:30:40.000000000 +0200
@@ -10,6 +10,7 @@
 "PO-Revision-Date: 2007-02-28 10:22+0100\n"
 "Last-Translator: Jacobo Tarrio <jtar...@debian.org>\n"
 "Language-Team: Galician <proxe...@trasno.net>\n"
+"Language: gl\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/ja.po localepurge-0.6.2+nmu1/debian/po/ja.po
--- localepurge-0.6.2/debian/po/ja.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/ja.po	2010-08-07 03:30:40.000000000 +0200
@@ -6,6 +6,7 @@
 "PO-Revision-Date: 2006-08-06 12:00+0900\n"
 "Last-Translator: Atsushi Shimono <shim...@gmail.com>\n"
 "Language-Team: Japanese <debian-japan...@lists.debian.org>\n"
+"Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/nl.po localepurge-0.6.2+nmu1/debian/po/nl.po
--- localepurge-0.6.2/debian/po/nl.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/nl.po	2010-08-07 03:30:40.000000000 +0200
@@ -19,6 +19,7 @@
 "PO-Revision-Date: 2006-01-27 16:25+0100\n"
 "Last-Translator: Bart Cornelis <cob...@linux.be>\n"
 "Language-Team: debian-l10n-dutch <debian-l10n-du...@lists.debian.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=iso-8859-15\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/pt_BR.po localepurge-0.6.2+nmu1/debian/po/pt_BR.po
--- localepurge-0.6.2/debian/po/pt_BR.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/pt_BR.po	2010-08-07 03:30:40.000000000 +0200
@@ -19,6 +19,7 @@
 "PO-Revision-Date: 2005-03-06 16:54-0300\n"
 "Last-Translator: Tiago Bortoletto Vaz <ti...@debian-ba.org>\n"
 "Language-Team: Debian-BR Project <debian-l10n-portugu...@lists.debian.org>\n"
+"Language: \n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=ISO-8859-1\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/pt.po localepurge-0.6.2+nmu1/debian/po/pt.po
--- localepurge-0.6.2/debian/po/pt.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/pt.po	2010-08-07 03:30:40.000000000 +0200
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2005-09-26 13:09+0100\n"
 "Last-Translator: Rui Branco <ru...@netcabo.pt>\n"
 "Language-Team: Portuguese <tra...@debianpt.org>\n"
+"Language: pt\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/ru.po localepurge-0.6.2+nmu1/debian/po/ru.po
--- localepurge-0.6.2/debian/po/ru.po	2009-07-25 20:19:32.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/ru.po	2010-08-07 03:30:40.000000000 +0200
@@ -11,11 +11,13 @@
 "PO-Revision-Date: 2009-05-25 21:38+0400\n"
 "Last-Translator: Yuri Kozlov <yu...@komyakino.ru>\n"
 "Language-Team: Russian <debian-l10n-russ...@lists.debian.org>\n"
+"Language: ru\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Generator: KBabel 1.11.4\n"
-"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
 
 #. Type: multiselect
 #. Description
@@ -34,12 +36,12 @@
 "language settings.  The entries from /etc/locale.gen will be preselected if "
 "no prior configuration has been successfully completed."
 msgstr ""
-"localepurge удалит все файлы локалей из вашей системы, кроме тех, которые "
-"вы здесь отметите. Обычно, большая часть локализации содержится в локали, "
-"состоящей из двух символов, например, \"de\" или \"ru\", а не в \"de_DE\" или \"ru_RU\". "
-"Поэтому выберите обе локали, чтобы оставить самую полную поддержку "
-"родного языка. Записи из /etc/locale.gen уже выбраны, если это первая "
-"настройка."
+"localepurge удалит все файлы локалей из вашей системы, кроме тех, которые вы "
+"здесь отметите. Обычно, большая часть локализации содержится в локали, "
+"состоящей из двух символов, например, \"de\" или \"ru\", а не в \"de_DE\" "
+"или \"ru_RU\". Поэтому выберите обе локали, чтобы оставить самую полную "
+"поддержку родного языка. Записи из /etc/locale.gen уже выбраны, если это "
+"первая настройка."
 
 #. Type: boolean
 #. Description
@@ -54,8 +56,8 @@
 "You chose not to keep any locales. This means that all locales will be "
 "removed from your system. Are you sure this really is what you want?"
 msgstr ""
-"Вы не выбрали ни одной локали. Это означает, что все локали будут "
-"удалены из системы. Вы действительно хотите этого?"
+"Вы не выбрали ни одной локали. Это означает, что все локали будут удалены из "
+"системы. Вы действительно хотите этого?"
 
 #. Type: note
 #. Description
@@ -71,9 +73,9 @@
 "command \"dpkg-reconfigure localepurge\". The configured entries from /etc/"
 "locale.gen of the locales package will then be automagically preselected."
 msgstr ""
-"localepurge не заработает, пока вы не настроите его с помощь команды "
-"\"dpkg-reconfigure localepurge\". Настроенные локали в /etc/locale.gen "
-"из пакета locales будут выбраны автоматически."
+"localepurge не заработает, пока вы не настроите его с помощь команды \"dpkg-"
+"reconfigure localepurge\". Настроенные локали в /etc/locale.gen из пакета "
+"locales будут выбраны автоматически."
 
 #. Type: boolean
 #. Description
@@ -88,8 +90,8 @@
 "Based on the same locale information you chose above, localepurge can also "
 "delete superfluous localized man pages."
 msgstr ""
-"На основе указанной ранее информации о локалях, localepurge может "
-"также удалить ненужные переведённые справочные страницы."
+"На основе указанной ранее информации о локалях, localepurge может также "
+"удалить ненужные переведённые справочные страницы."
 
 #. Type: boolean
 #. Description
@@ -108,10 +110,10 @@
 "opportunity to decide whether to keep or delete newly introduced locales."
 msgstr ""
 "Если вас устраивает выбор оставляемых в системе локалей, и вам неважно, "
-"будут ли удалены или оставлены новые локали, которые появятся в будущем, "
-"то ответьте отрицательно, и все новые локали будут автоматически удаляться. "
-"Если вы ответите утвердительно, то вам будет предлагаться выбор "
-"удалять или оставлять появляющиеся новые локали."
+"будут ли удалены или оставлены новые локали, которые появятся в будущем, то "
+"ответьте отрицательно, и все новые локали будут автоматически удаляться. "
+"Если вы ответите утвердительно, то вам будет предлагаться выбор удалять или "
+"оставлять появляющиеся новые локали."
 
 #. Type: boolean
 #. Description
@@ -144,10 +146,10 @@
 "filesystem during disc space calculation. The other one works more "
 "accurately and is therefore the preferred choice."
 msgstr ""
-"Есть два способа подсчёта освобождаемого дискового пространства. "
-"Один намного быстрее другого, но менее точен, если во время подсчёта "
-"происходят другие изменения в файловой системе. Второй работает более "
-"точно и поэтому более предпочтителен."
+"Есть два способа подсчёта освобождаемого дискового пространства. Один "
+"намного быстрее другого, но менее точен, если во время подсчёта происходят "
+"другие изменения в файловой системе. Второй работает более точно и поэтому "
+"более предпочтителен."
 
 #. Type: boolean
 #. Description
@@ -162,6 +164,5 @@
 "localepurge may be configured to explicitly show which locale files it "
 "deletes. This possibly causes a lot of screen output."
 msgstr ""
-"localepurge может показывать удаляемые файлы локалей. "
-"Возможно, их будет очень много."
-
+"localepurge может показывать удаляемые файлы локалей. Возможно, их будет "
+"очень много."
diff -Nru localepurge-0.6.2/debian/po/sv.po localepurge-0.6.2+nmu1/debian/po/sv.po
--- localepurge-0.6.2/debian/po/sv.po	2009-07-25 20:39:45.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/sv.po	2010-08-07 03:30:40.000000000 +0200
@@ -11,6 +11,7 @@
 "PO-Revision-Date: 2009-01-04 22:55+0100\n"
 "Last-Translator: Martin Bagge <brot...@bsnet.se>\n"
 "Language-Team: Swedish <debian-l10n-swed...@lists.debian.org>\n"
+"Language: sv\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/po/vi.po localepurge-0.6.2+nmu1/debian/po/vi.po
--- localepurge-0.6.2/debian/po/vi.po	2006-10-20 23:32:54.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/po/vi.po	2010-08-07 03:30:40.000000000 +0200
@@ -1,7 +1,7 @@
 # Vietnamese Translation for localepurge.
 # Copyright © 2005 Free Software Foundation, Inc.
 # Clytie Siddall <cly...@riverland.net.au>, 2005.
-# 
+#
 msgid ""
 msgstr ""
 "Project-Id-Version: localepurge 0.0.75\n"
@@ -10,6 +10,7 @@
 "PO-Revision-Date: 2005-06-09 12:46+0930\n"
 "Last-Translator: Clytie Siddall <cly...@riverland.net.au>\n"
 "Language-Team: Vietnamese <gnomevi-l...@lists.sourceforge.net>\n"
+"Language: vi\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
diff -Nru localepurge-0.6.2/debian/postinst localepurge-0.6.2+nmu1/debian/postinst
--- localepurge-0.6.2/debian/postinst	2009-07-25 21:28:31.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/postinst	2010-08-20 00:26:36.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
 
 set -e
 
@@ -167,21 +167,13 @@
 # Now deal with the configuration file
 CONFIGFILE=/etc/locale.nopurge
 TMPFILE="$CONFIGFILE.$$"
-SUMFILE="$CONFIGFILE.md5sum"
 
 # Generate new configuration file
 generate_config 0 > "$TMPFILE" 2>&1
 # Use ucf to move it into place while preserving user changes
-if [ -f "$CONFIGFILE" ] && [ -f "$SUMFILE" ]; then
-  /usr/bin/ucf --debconf-ok --sum-file "$SUMFILE" "$TMPFILE" "$CONFIGFILE"
-else
- if [ -s "$TMPFILE" ]; then
-  cp "$TMPFILE" "$CONFIGFILE"
-  if [ -f "$SUMFILE" ]; then
-   /usr/bin/ucf --debconf-ok --sum-file "$SUMFILE" "$TMPFILE" "$CONFIGFILE"
-  fi
- fi
-fi
+/usr/bin/ucf --debconf-ok "$TMPFILE" "$CONFIGFILE"
+# And register the file with dpkg
+/usr/bin/ucfr localepurge $CONFIGFILE
 
 # Clean up and ensure permissions are sane
 rm -f $TMPFILE
diff -Nru localepurge-0.6.2/debian/postrm localepurge-0.6.2+nmu1/debian/postrm
--- localepurge-0.6.2/debian/postrm	2009-07-25 21:28:47.000000000 +0200
+++ localepurge-0.6.2+nmu1/debian/postrm	2010-08-20 00:26:04.000000000 +0200
@@ -12,6 +12,9 @@
     else
         echo >&2 "/etc/locale.nopurge could not be purged because ucf was not found."
     fi
+    if [ -x /usr/bin/ucfr ]; then
+        /usr/bin/ucfr --purge localepurge /etc/locale.nopurge
+    fi
     rm -f /etc/locale.nopurge.md5sum
 
 echo

Attachment: signature.asc
Description: Digital signature

Reply via email to