equal
  deleted
  inserted
  replaced
  
    
    
    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/TrustCenter/scripts/install_update_db.sh  | 
    27 +++ b/TrustCenter/scripts/install_update_db.sh  | 
    27 +++ b/TrustCenter/scripts/install_update_db.sh  | 
    28 @@ -1,6 +1,6 @@  | 
    28 @@ -1,6 +1,4 @@  | 
    29 -#!/bin/sh  | 
    29  #!/bin/sh  | 
    30 -# cron script actual statistic  | 
    30 -# cron script actual statistic  | 
    31 +#!/bin/bash  | 
    31 -ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh  | 
    32 +# need bash for bashism  | 
    32 -source $ZF_CONF  | 
    33  ZF_CONF=$(dirname `readlink -f $0`)/../zf_conf.sh  | 
    33 -  | 
    34  source $ZF_CONF  | 
         | 
    35    | 
         | 
    36 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd  | 
    34 -$ZEND_PROJECT_PATH/zf.sh database update root L1ttleB1rd  | 
    37 +$ZEND_PROJECT_PATH/zf.sh database update ${1-root} ${2-L1ttleB1rd} | 
    35 +ZF_CONF=$(dirname $(readlink -f $0))/../zf_conf.sh  | 
         | 
    36 +. $ZF_CONF  | 
         | 
    37 +$ZEND_PROJECT_PATH/zf.sh database update "${1-root}" "${2-L1ttleB1rd}" |