[phpBB] svn: r35 - trunk/phpbb2

jeroen at wolffelaar.nl jeroen at wolffelaar.nl
Thu Feb 5 01:16:01 CET 2004


Author: jeroen
Date: 2004-02-05 01:15:34 +0100 (Thu, 05 Feb 2004)
New Revision: 35

Modified:
   trunk/phpbb2/postinst
Log:
Fix case of DBMS's, now all lowercase

Modified: trunk/phpbb2/postinst
===================================================================
--- trunk/phpbb2/postinst	2004-02-04 23:11:37 UTC (rev 34)
+++ trunk/phpbb2/postinst	2004-02-05 00:15:34 UTC (rev 35)
@@ -25,7 +25,7 @@
 	# shouldn't anymore
 
 	if [ "$dbsetup" = Create ]; then
-		if [ "$dbms" = MySQL ]; then
+		if [ "$dbms" = mysql ]; then
 			dbadmin=root
 			dbadmpass="$dbrootpass"
 			echo "Creating MySQL database..."
@@ -52,7 +52,7 @@
 				break
 			fi
 			db_set phpbb2/db_created true
-#		elif [ "$dbms" = PostgreSQL ]; then
+#		elif [ "$dbms" = postgresql ]; then
 #			echo "Creating PostgreSQL database..."
 #			. /usr/share/wwwconfig-common/pgsql-createdb.sh 
 #			if [ "$status" = "error" ]; then
@@ -64,7 +64,7 @@
 		fi
 	fi
 	if [ "$dbsetup" = Populate ] || [ "$dbsetup" = Create ]; then
-		if [ "$dbms" = MySQL ]; then
+		if [ "$dbms" = mysql ]; then
 # Okay, being idempotent in creating tables and adding a few rows is extremely
 # hard thing to do. The tables is possible, but those rows? How can one
 # distinguish from not having added a row yet because of a crash, and the row
@@ -99,7 +99,7 @@
 					wwwconfig-common/mysql-ifnot-exec.sh: $status" >&2
 				exit 1
 			esac
-		elif [ "$dbms" = PostgreSQL ]; then
+		elif [ "$dbms" = postgresql ]; then
 			echo "PostgreSQL not supported yet" >&2
 #			dbadmin=postmaster
 #			dbadmpass="$dbrootpass"





More information about the phpBB-l mailing list