[Pkg-shadow-commits] r397 - trunk/debian

Alexander Gattin xrgtn-guest at costa.debian.org
Sat Jul 23 16:02:16 UTC 2005


Author: xrgtn-guest
Date: 2005-07-23 16:02:16 +0000 (Sat, 23 Jul 2005)
New Revision: 397

Modified:
   trunk/debian/changelog
   trunk/debian/passwd.config
Log:
Replaced `shadowconfig on/off >/dev/null` with `shadowconfig on/off` to ease
error diagnostics. Also, use `` instead of "$()".


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-07-23 11:39:26 UTC (rev 396)
+++ trunk/debian/changelog	2005-07-23 16:02:16 UTC (rev 397)
@@ -6,7 +6,12 @@
     - debian/passwd.linda-overrides, debian/login.linda-overrides, debian/rules:
       Add file permissions overrides for linda similar to those we have for lintian
     - debian/login.lintian-overrides:
-      No more file permission overrisde for login
+      No more file permission overrides for login
+    - debian/passwd.config:
+      let error messages from shadowconfig (and therefore underlying
+      pwck/grpck tools which use stdout for this purpose) to reach stdout
+      instead of getting into /dev/null. This helps error diagnostics and
+      supposedly Closes: #319136
   * Programs translation updates:
     - French completed.
   * Man pages translation updates:

Modified: trunk/debian/passwd.config
===================================================================
--- trunk/debian/passwd.config	2005-07-23 11:39:26 UTC (rev 396)
+++ trunk/debian/passwd.config	2005-07-23 16:02:16 UTC (rev 397)
@@ -112,9 +112,9 @@
 		# Enable shadowed passwords...or not
 		db_get passwd/shadow
 		if [ "$RET" = true ]; then
-			shadowconfig on >/dev/null
+			shadowconfig on
 		else
-			shadowconfig off >/dev/null
+			shadowconfig off
 		fi
 	;;
 	3)
@@ -192,7 +192,7 @@
 					userdefault="tbm"
 				    ;;
 				    *)
-					userdefault="$(echo $RET | sed 's/ .*//' | tr A-Z a-z)"
+					userdefault=`echo $RET | sed 's/ .*//' | tr A-Z a-z`
 				    ;;
 				esac
 				if test -n "$userdefault"; then




More information about the Pkg-shadow-commits mailing list