[Dbconfig-common-devel] dbconfig-common/internal common,1.2,1.3

seanius@haydn.debian.org seanius@haydn.debian.org


Update of /cvsroot/dbconfig-common/dbconfig-common/internal
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv31184/internal

Modified Files:
	common 
Log Message:
blank passwords now == randomly generated ones.  thanks to tobias grimm
for the idea on that.  also a few lintian fixes


Index: common
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/internal/common,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- common	4 Feb 2005 06:26:07 -0000	1.2
+++ common	26 Apr 2005 04:30:54 -0000	1.3
@@ -93,6 +93,13 @@
 				return 1
 				fi
 				;;
+		"dbpass")
+			if [ -z "$dbc_dbpass" ]; then
+				dbc_error="No database password specified."
+				dbc_logline "sanity check failed for dbc_dbpass"
+				return 1
+				fi
+				;;
 		"mysql")
 			if ! which mysql >/dev/null; then
 				dbc_error="No mysql client to execute.  (have