diff -Nru debsums-2.0.48/debian/90debsums debsums-2.0.48.1/debian/90debsums
--- debsums-2.0.48/debian/90debsums	1970-01-01 07:00:00.000000000 +0700
+++ debsums-2.0.48.1/debian/90debsums	2010-03-14 17:30:00.000000000 +0700
@@ -0,0 +1 @@
+DPkg::Post-Invoke { "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; };
diff -Nru debsums-2.0.48/debian/changelog debsums-2.0.48.1/debian/changelog
--- debsums-2.0.48/debian/changelog	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/changelog	2010-03-14 18:50:41.000000000 +0700
@@ -1,3 +1,10 @@
+debsums (2.0.48.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * fix overwrites /etc/apt.conf.d/90debsums without asking
+    (Closes: 571116)
+ -- Prach Pongpanich <prachpub@gmail.com>  Sun, 14 Mar 2010 18:50:10 +0700
+
 debsums (2.0.48) unstable; urgency=low
 
   * reword the --ignore-permissions documentation to say that it makes
diff -Nru debsums-2.0.48/debian/lintian-overrides debsums-2.0.48.1/debian/lintian-overrides
--- debsums-2.0.48/debian/lintian-overrides	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/lintian-overrides	1970-01-01 07:00:00.000000000 +0700
@@ -1,2 +0,0 @@
-# That command path is in a generated config file, not in the postinst script
-debsums: command-with-path-in-maintainer-script postinst:25 /usr/bin/debsums
diff -Nru debsums-2.0.48/debian/po/cs.po debsums-2.0.48.1/debian/po/cs.po
--- debsums-2.0.48/debian/po/cs.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/cs.po	2010-03-14 18:53:27.000000000 +0700
@@ -15,7 +15,7 @@
 msgstr ""
 "Project-Id-Version: debsums\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2009-06-14 18:49+0200\n"
 "Last-Translator: Jan Outrata <outrata@upcase.inf.upol.cz>\n"
 "Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/da.po debsums-2.0.48.1/debian/po/da.po
--- debsums-2.0.48/debian/po/da.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/da.po	2010-03-14 18:53:27.000000000 +0700
@@ -14,7 +14,7 @@
 msgstr ""
 "Project-Id-Version: debsums\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2004-08-02 16:45+0200\n"
 "Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
 "Language-Team: Danish <dansk@klid.dk>\n"
diff -Nru debsums-2.0.48/debian/po/de.po debsums-2.0.48.1/debian/po/de.po
--- debsums-2.0.48/debian/po/de.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/de.po	2010-03-14 18:53:27.000000000 +0700
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-20 21:22+0200\n"
 "Last-Translator: Sven Joachim <svenjoac@gmx.de>\n"
 "Language-Team: German <debian-l10n-german@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/es.po debsums-2.0.48.1/debian/po/es.po
--- debsums-2.0.48/debian/po/es.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/es.po	2010-03-14 18:53:27.000000000 +0700
@@ -31,7 +31,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-11-24 19:10+0100\n"
 "Last-Translator: Francisco Javier Cuadrado <fcocuadrado@gmail.com>\n"
 "Language-Team: Debian l10n spanish <debian-l10n-spanish@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/fi.po debsums-2.0.48.1/debian/po/fi.po
--- debsums-2.0.48/debian/po/fi.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/fi.po	2010-03-14 18:53:27.000000000 +0700
@@ -2,7 +2,7 @@
 msgstr ""
 "Project-Id-Version: debsums\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-24 12:52+0200\n"
 "Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
 "Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/fr.po debsums-2.0.48.1/debian/po/fr.po
--- debsums-2.0.48/debian/po/fr.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/fr.po	2010-03-14 18:53:27.000000000 +0700
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: fr\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-13 06:58+0200\n"
 "Last-Translator: Christian Perrier <bubulle@debian.org>\n"
 "Language-Team: French <debian-l10n-french@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/gl.po debsums-2.0.48.1/debian/po/gl.po
--- debsums-2.0.48/debian/po/gl.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/gl.po	2010-03-14 18:53:27.000000000 +0700
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: debsums_2.0.40_gl\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-12-27 18:44+0100\n"
 "Last-Translator: mvillarino <mvillarino@users.sourceforge.net>\n"
 "Language-Team: galician <proxecto@trasno.net>\n"
diff -Nru debsums-2.0.48/debian/po/it.po debsums-2.0.48.1/debian/po/it.po
--- debsums-2.0.48/debian/po/it.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/it.po	2010-03-14 18:53:27.000000000 +0700
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39 debconf templates\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-13 09:29+0200\n"
 "Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
 "Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/ja.po debsums-2.0.48.1/debian/po/ja.po
--- debsums-2.0.48/debian/po/ja.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/ja.po	2010-03-14 18:53:27.000000000 +0700
@@ -16,7 +16,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-14 17:58+0900\n"
 "Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
 "Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/nl.po debsums-2.0.48.1/debian/po/nl.po
--- debsums-2.0.48/debian/po/nl.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/nl.po	2010-03-14 18:53:27.000000000 +0700
@@ -17,7 +17,7 @@
 msgstr ""
 "Project-Id-Version: debsums_2.0.38_nl\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-15 22:20-0600\n"
 "Last-Translator: Paul Gevers <paul@climbing.nl>\n"
 "Language-Team: Dutch <debian-l10n-dutch@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/pt_BR.po debsums-2.0.48.1/debian/po/pt_BR.po
--- debsums-2.0.48/debian/po/pt_BR.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/pt_BR.po	2010-03-14 18:53:27.000000000 +0700
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: debsums_2.0.28\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-03 02:23-0300\n"
 "Last-Translator: Felipe Augusto van de Wiel (faw) <faw@debian.org>\n"
 "Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
diff -Nru debsums-2.0.48/debian/po/pt.po debsums-2.0.48.1/debian/po/pt.po
--- debsums-2.0.48/debian/po/pt.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/pt.po	2010-03-14 18:53:27.000000000 +0700
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.38\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-18 13:06+0100\n"
 "Last-Translator: Carlos Lisboa <carloslisboa@gmail.com>\n"
 "Language-Team: Portuguese <traduz@debianpt.org>\n"
diff -Nru debsums-2.0.48/debian/po/ru.po debsums-2.0.48.1/debian/po/ru.po
--- debsums-2.0.48/debian/po/ru.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/ru.po	2010-03-14 18:53:27.000000000 +0700
@@ -15,7 +15,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-16 20:52+0400\n"
 "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
 "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/sv.po debsums-2.0.48.1/debian/po/sv.po
--- debsums-2.0.48/debian/po/sv.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/sv.po	2010-03-14 18:53:27.000000000 +0700
@@ -14,7 +14,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.18\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-11-14 20:50+0100\n"
 "Last-Translator: Martin Bagge <brother@bsnet.se>\n"
 "Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
diff -Nru debsums-2.0.48/debian/po/templates.pot debsums-2.0.48.1/debian/po/templates.pot
--- debsums-2.0.48/debian/po/templates.pot	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/templates.pot	2010-03-14 18:53:27.000000000 +0700
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
diff -Nru debsums-2.0.48/debian/po/uk.po debsums-2.0.48.1/debian/po/uk.po
--- debsums-2.0.48/debian/po/uk.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/uk.po	2010-03-14 18:53:27.000000000 +0700
@@ -9,7 +9,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-14 11:00+0300\n"
 "Last-Translator: Olexandr Kravchuk <sashko.kravchuk@gmail.com>\n"
 "Language-Team: UK <linux@linux.org.ua>\n"
diff -Nru debsums-2.0.48/debian/po/vi.po debsums-2.0.48.1/debian/po/vi.po
--- debsums-2.0.48/debian/po/vi.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/vi.po	2010-03-14 18:53:27.000000000 +0700
@@ -6,7 +6,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.39\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2009-01-31 00:15+0930\n"
 "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
 "Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
diff -Nru debsums-2.0.48/debian/po/zh_TW.po debsums-2.0.48.1/debian/po/zh_TW.po
--- debsums-2.0.48/debian/po/zh_TW.po	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/po/zh_TW.po	2010-03-14 18:53:27.000000000 +0700
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: debsums 2.0.38\n"
 "Report-Msgid-Bugs-To: debsums@packages.debian.org\n"
-"POT-Creation-Date: 2009-06-26 16:22+1200\n"
+"POT-Creation-Date: 2010-03-14 18:53+0700\n"
 "PO-Revision-Date: 2008-10-14 08:00+0800\n"
 "Last-Translator: Kanru Chen <koster@debian.org.tw>\n"
 "Language-Team: Chinese/Traditional <zh-l10n@linux.org.tw>\n"
diff -Nru debsums-2.0.48/debian/postinst debsums-2.0.48.1/debian/postinst
--- debsums-2.0.48/debian/postinst	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/postinst	1970-01-01 07:00:00.000000000 +0700
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-
-. /usr/share/debconf/confmodule
-
-APT_CONF=/etc/apt/apt.conf.d/90debsums
-
-case "$1" in
-    configure)
-        db_get debsums/apt-autogen || true
-        if [ "$RET" = true ]; then
-            echo 'DPkg::Post-Invoke { "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; };' >$APT_CONF
-        else
-            rm -f $APT_CONF
-        fi
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
diff -Nru debsums-2.0.48/debian/rules debsums-2.0.48.1/debian/rules
--- debsums-2.0.48/debian/rules	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/rules	2010-03-14 18:54:52.000000000 +0700
@@ -10,7 +10,6 @@
 	dh_testdir
 	dh_testroot
 	dh_clean
-	debconf-updatepo
 	cd man && po4a --no-translations --rm-backups po4a.cfg
 	rm -f man/po/*~ man/*/debsums*.[18]
 
@@ -21,6 +20,7 @@
 	dh_prep
 	dh_installdirs
 
+	install -D -m 0644 debian/90debsums $(tmp)/etc/apt/apt.conf.d/90debsums	
 	cp debsums_gen debsums_init $(tmp)/usr/sbin
 	cp debsums rdebsums $(tmp)/usr/bin
 	chmod 755 $(tmp)/usr/bin/debsums $(tmp)/usr/sbin/debsums_gen \
diff -Nru debsums-2.0.48/debian/templates debsums-2.0.48.1/debian/templates
--- debsums-2.0.48/debian/templates	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48.1/debian/templates	1970-01-01 07:00:00.000000000 +0700
@@ -1,8 +0,0 @@
-Template: debsums/apt-autogen
-Type: boolean
-Default: true
-_Description: Should debsums files be generated automatically by apt-get?
- Not all packages contain debsums information. However, apt can be
- configured to generate debsums files for installed packages
- automatically. This may be useful for checking system integrity
- later, but it should not be relied upon as a security measure.
