[Piuparts-commits] [piuparts] 01/01: fixup: scripts/pre_install_database-server: work around 707075

Holger Levsen holger at moszumanska.debian.org
Sat May 17 09:34:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 46251a6376adc94aec71b685ccae472ada01db3d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat May 17 11:34:50 2014 +0200

    fixup: scripts/pre_install_database-server: work around 707075
---
 custom-scripts/scripts/pre_install_database-server | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/custom-scripts/scripts/pre_install_database-server b/custom-scripts/scripts/pre_install_database-server
index a50ba37..dba266b 100755
--- a/custom-scripts/scripts/pre_install_database-server
+++ b/custom-scripts/scripts/pre_install_database-server
@@ -160,7 +160,7 @@ if [ "$MYSQL" = "yes" ]; then
 	# workaround #707075
 	case ${PIUPARTS_OBJECTS%%=*} in
 		otrs2)
-			if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ]; then
+			if [ "$PIUPARTS_DISTRIBUTION" = "wheezy" ] && [ -d /etc/mysql ]; then
 				echo default-storage-engine=MYISAM >> /etc/mysql/my.cnf 
 			fi
 		;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list