[med-svn] r13405 - trunk/packages/gnuhealth/trunk/debian
Emilien Klein
e2jk-guest at alioth.debian.org
Wed Apr 24 19:55:20 UTC 2013
Author: e2jk-guest
Date: 2013-04-24 19:55:19 +0000 (Wed, 24 Apr 2013)
New Revision: 13405
Modified:
trunk/packages/gnuhealth/trunk/debian/postinst
Log:
Update the gnuhealth database, if both the PostgreSQL role and the gnuhealth database exist
Modified: trunk/packages/gnuhealth/trunk/debian/postinst
===================================================================
--- trunk/packages/gnuhealth/trunk/debian/postinst 2013-04-24 19:47:47 UTC (rev 13404)
+++ trunk/packages/gnuhealth/trunk/debian/postinst 2013-04-24 19:55:19 UTC (rev 13405)
@@ -29,9 +29,9 @@
# Check if the gnuhealth database exists
db=`psql -U postgres -l 2>/dev/null | grep gnuhealth | wc -l`
if [ $db -eq 1 ]; then
- echo "exists"
# Update the gnuhealth database
- #trytond --database=gnuhealth --update=all
+ echo "Updating the gnuhealth database"
+ trytond --database=gnuhealth --update=all
else
echo "doesn't exist"
# The user has probably set up it's own database, prompt her
More information about the debian-med-commit
mailing list