debian/patches/db-update
changeset 72 13e6c7d7e367
parent 63 4b1a3d9a3cae
child 84 e54c345e0d4a
--- a/debian/patches/db-update	Wed Sep 14 21:48:05 2011 +0200
+++ b/debian/patches/db-update	Thu Sep 15 14:13:37 2011 +0200
@@ -25,13 +25,13 @@
 
 --- a/TrustCenter/scripts/install_update_db.sh
 +++ b/TrustCenter/scripts/install_update_db.sh
-@@ -1,6 +1,6 @@
--#!/bin/sh
+@@ -1,6 +1,4 @@
+ #!/bin/sh
 -# cron script actual statistic
-+#!/bin/bash
-+# need bash for bashism
- ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
- source $ZF_CONF
- 
+-ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
+-source $ZF_CONF
+-
 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd
-+$ZEND_PROJECT_PATH/zf.sh database update ${1-root} ${2-L1ttleB1rd}
++ZF_CONF=$(dirname $(readlink -f $0))/../zf_conf.sh
++. $ZF_CONF
++$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}"