Author: misha680-guest
Date: 2010-10-06 02:24:37 +0000 (Wed, 06 Oct 2010)
New Revision: 5330
Modified:
trunk/packages/openmrs/trunk/debian/postrm
Log:
make change believed to be necessary so that postrm script continues if mysql
returns failure, as script is set -e
Modified: trunk/packages/openmrs/trunk/debian/postrm
===================================================================
--- trunk/packages/openmrs/trunk/debian/postrm 2010-10-06 00:26:16 UTC (rev
5329)
+++ trunk/packages/openmrs/trunk/debian/postrm 2010-10-06 02:24:37 UTC (rev
5330)
@@ -17,7 +17,7 @@
CONNECTION_PASSWORD=$(cat
/etc/openmrs/openmrs-runtime.properties | grep connection.password | sed
's/connection.password=//')
# we only drop the database, we cannot drop the user as the
openmrs default user
# does not have permissions to drop users
- echo "drop database $DATABASE_NAME" | mysql
--user=$CONNECTION_USERNAME --password=$CONNECTION_PASSWORD $DATABASE_NAME >
/dev/null 2>&1
+ echo "drop database $DATABASE_NAME" | mysql
--user=$CONNECTION_USERNAME --password=$CONNECTION_PASSWORD $DATABASE_NAME >
/dev/null 2>&1 || true
fi
fi
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit