SOURCES: eventum-upgrade.sh - remove sleep, we have now the needed...
glen
glen at pld-linux.org
Mon Aug 1 14:42:45 CEST 2005
Author: glen Date: Mon Aug 1 12:42:45 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- remove sleep, we have now the needed privs granted by setup script
---- Files affected:
SOURCES:
eventum-upgrade.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/eventum-upgrade.sh
diff -u SOURCES/eventum-upgrade.sh:1.1 SOURCES/eventum-upgrade.sh:1.2
--- SOURCES/eventum-upgrade.sh:1.1 Fri Apr 22 10:51:03 2005
+++ SOURCES/eventum-upgrade.sh Mon Aug 1 14:42:40 2005
@@ -6,14 +6,8 @@
exit 1
fi
-cat >&2 <<-EOF
-Running eventum upgrade scripts to in $scriptdir
-These will fail if your eventum user doesn't have ALTER privilege to database.
+echo >&2 "Running eventum upgrade scripts to in $scriptdir"
-!!! Proceeding in 10 seconds !!!
-EOF
-
-sleep 10s
if [ -x /usr/bin/php4 ]; then
php=/usr/bin/php4
else
@@ -27,6 +21,7 @@
if ! $php -q $scriptdir/$script; then
echo >&2 ""
echo >&2 "Please run manually: $php -q $scriptdir/$script"
+ echo >&2 "NOTE: You might need to add CREATE, DROP, ALTER and INDEX privileges to Eventum MySQL user for this to work".
fi
echo ""
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-upgrade.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list