lib/pvl/hosts/zone.sh
changeset 721 89a3433e709d
parent 720 0b2174b11897
child 725 e8ede1a1e7b8
equal deleted inserted replaced
720:0b2174b11897 721:89a3433e709d
    84     
    84     
    85     # test
    85     # test
    86     if [ "$UPDATE_SERIAL" = 1 ]; then
    86     if [ "$UPDATE_SERIAL" = 1 ]; then
    87         log_force "$out: Force serial $old <- $serial"
    87         log_force "$out: Force serial $old <- $serial"
    88 
    88 
       
    89     elif apply_check "$out" ${srcs[@]:-}; then
       
    90         return 0
       
    91 
    89     elif [ "$UPDATE_SERIAL" = 0 ]; then
    92     elif [ "$UPDATE_SERIAL" = 0 ]; then
    90         log_noop "$out: Noop serial: $old <- $serial"
    93         log_noop "$out: Noop serial: $old <- $serial"
    91         
    94         
    92         return 0
       
    93 
       
    94     elif apply_check "$out" ${srcs[@]:-}; then
       
    95         return 0
    95         return 0
    96 
    96 
    97     else
    97     else
    98         log_apply "$out: Update serial: $old <- $serial"
    98         log_apply "$out: Update serial: $old <- $serial"
    99     fi
    99     fi