debian/patches/db-update
changeset 84 e54c345e0d4a
parent 72 13e6c7d7e367
child 93 d699288adb5a
equal deleted inserted replaced
83:b9b4a95d8850 84:e54c345e0d4a
    21 Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
    21 Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
    22 Forwarded: <no|not-needed|url proving that it has been forwarded>
    22 Forwarded: <no|not-needed|url proving that it has been forwarded>
    23 Reviewed-By: <name and email of someone who approved the patch>
    23 Reviewed-By: <name and email of someone who approved the patch>
    24 Last-Update: <YYYY-MM-DD>
    24 Last-Update: <YYYY-MM-DD>
    25 
    25 
    26 --- a/TrustCenter/scripts/install_update_db.sh
    26 --- a/LittleBird-Test/TrustCenter/scripts/install_update_db
    27 +++ b/TrustCenter/scripts/install_update_db.sh
    27 +++ b/LittleBird-Test/TrustCenter/scripts/install_update_db
    28 @@ -1,6 +1,4 @@
    28 @@ -1,6 +1,5 @@
    29  #!/bin/sh
    29  #!/bin/sh
    30 -# cron script actual statistic
    30 -# cron script actual statistic
    31 -ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
    31 -ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
    32 -source $ZF_CONF
    32 -source $ZF_CONF
    33 -
       
    34 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd
       
    35 +ZF_CONF=$(dirname $(readlink -f $0))/../zf_conf.sh
    33 +ZF_CONF=$(dirname $(readlink -f $0))/../zf_conf.sh
    36 +. $ZF_CONF
    34 +. $ZF_CONF
    37 +$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}"
    35  
       
    36 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd >&2
       
    37 +$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}" >&2