[subversion-commit] SVN tex-common commit + diffs: r1345 - tex-common/trunk/debian

Frank Küster frank at costa.debian.org
Thu May 11 11:40:17 UTC 2006


Author: frank
Date: 2006-05-11 11:40:16 +0000 (Thu, 11 May 2006)
New Revision: 1345

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/config.in
Log:
* After the groupname question has been renamed, make sure that the new
  questions are not shown again when the old one has already been seen,
  and unregister the old question (closes: #366812) [frank]
* Fix bashism in config (closes: #366789) [frank]


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2006-05-11 00:27:12 UTC (rev 1344)
+++ tex-common/trunk/debian/changelog	2006-05-11 11:40:16 UTC (rev 1345)
@@ -1,3 +1,12 @@
+tex-common (0.22.1) UNRELEASED; urgency=low
+
+  * After the groupname question has been renamed, make sure that the new
+    questions are not shown again when the old one has already been seen,
+    and unregister the old question (closes: #366812) [frank]
+  * Fix bashism in config (closes: #366789) [frank]
+
+ -- Frank Küster <frank at debian.org>  Thu, 11 May 2006 13:19:12 +0200
+
 tex-common (0.22) unstable; urgency=low
 
   * Also install FileUtils.pm which is needed by tpm2licenses [frank]

Modified: tex-common/trunk/debian/config.in
===================================================================
--- tex-common/trunk/debian/config.in	2006-05-11 00:27:12 UTC (rev 1344)
+++ tex-common/trunk/debian/config.in	2006-05-11 11:40:16 UTC (rev 1345)
@@ -41,10 +41,15 @@
 db_unregister tex-common/userperm || true
 db_unregister tex-common/managedlsr || true
 
-# we set the groupname seen flag to false in any case since now it has
-# a completely new meaning
-# db_fset tex-common/groupname seen false || true
+# The groupname question has been split up, but it need not be shown again
+db_fget tex-common/groupname seen || true
+if [ "$RET" = true ]; then
+ db_fset tex-common/groupname_single seen true || true
+ db_fset tex-common/groupname_multi seen true || true
+fi
+db_unregister tex-common/groupname
 
+
 # this script may be run twice: Once by dpkg-preconfigure, once again by
 # debconf when it is sourced in the postinst script.  We must do the
 # following only once, therefore we fiddle with a special flag
@@ -101,7 +106,7 @@
   for uid in `getent passwd | cut -d ':' -f 3`; do
     if [ $uid -ge 1000 ] && [ $uid -le 29999 ]; then
       userid=$uid
-      : $((usercount++))
+      : $(($usercount+1))
     fi
   done
   if [ $usercount -eq 1 ]; then




More information about the Pkg-tetex-commits mailing list