debian/patches/db-update
branch2011091400
changeset 63 4b1a3d9a3cae
parent 62 a170d243ea64
child 72 13e6c7d7e367
equal deleted inserted replaced
62:a170d243ea64 63:4b1a3d9a3cae
    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 --- littlebird-2011091400.orig/TrustCenter/scripts/install_update_db.sh
    26 --- a/TrustCenter/scripts/install_update_db.sh
    27 +++ littlebird-2011091400/TrustCenter/scripts/install_update_db.sh
    27 +++ b/TrustCenter/scripts/install_update_db.sh
    28 @@ -1,6 +1,6 @@
    28 @@ -1,6 +1,6 @@
    29 -#!/bin/sh
    29 -#!/bin/sh
       
    30 -# cron script actual statistic
    30 +#!/bin/bash
    31 +#!/bin/bash
    31  # cron script actual statistic
    32 +# need bash for bashism
    32  ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
    33  ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh
    33  source $ZF_CONF
    34  source $ZF_CONF
    34  
    35  
    35 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd
    36 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd
    36 +$ZEND_PROJECT_PATH/zf.sh database update ${1-root} ${2-L1ttleB1rd}
    37 +$ZEND_PROJECT_PATH/zf.sh database update ${1-root} ${2-L1ttleB1rd}