Changes between Version 8 and Version 9 of Scripts/testport_script


Ignore:
Timestamp:
Apr 24, 2012, 11:07:15 AM (12 years ago)
Author:
kato23@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/testport_script

    v8 v9  
    306306
    307307if [[ $remove -eq 1 ]]; then
    308    [[ $(port installed "$@" | wc -l) -gt 1 ]] && port -f clean --all "$@"
    309    [[ $(port installed "$@" | wc -l) -gt 1 ]] && port -f -v uninstall "$@"
     308   if [[ $(port installed "$@" | wc -l) -gt 1 ]]; then
     309      port -f clean --all "$@"
     310      port -f -v uninstall "$@"
     311   fi
    310312fi
    311313