The following commit has been merged in the master branch:
commit 3d2cf8796a0d6be15b743b14eb5b29b7c001c5ba
Author: Benjamin Drung <[email protected]>
Date: Tue May 24 23:24:04 2011 +0200
Add DEBSIGN_ALWAYS_RESIGN to devscripts.conf.
diff --git a/conf.default.in b/conf.default.in
index 0ed1246..0dbb75c 100644
--- a/conf.default.in
+++ b/conf.default.in
@@ -299,6 +299,9 @@
# debsign recognises the DEBRELEASE_DEBS_DIR variable; see debrelease
# above for more information.
#
+# Always re-sign files even if they are already signed, without prompting.
+# DEBSIGN_ALWAYS_RESIGN=yes
+#
# Which signing program to use? gpg and pgp are the usual values; the
# default is determined as described in the manpage.
# Corresponds to -p option
diff --git a/debian/postinst b/debian/postinst
index b344720..7aee5c1 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -719,6 +719,17 @@ EOF
EOF
fi
+
+ if dpkg --compare-versions "$2" lt 2.10.74
+ then
+ cat >> /etc/devscripts.conf << EOF
+#### debsign option added in 2.10.74
+#
+# Always re-sign files even if they are already signed, without prompting.
+# DEBSIGN_ALWAYS_RESIGN=yes
+
+EOF
+ fi
fi
fi
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].