Changes between Version 7 and Version 8 of Scripts/testport_script


Ignore:
Timestamp:
Apr 24, 2012, 11:03:18 AM (13 years ago)
Author:
kato23@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/testport_script

    v7 v8  
    298298
    299299if [[ $update -eq 1 ]]; then
    300    port -f clean --all installed
     300   [[ $(port installed | wc -l) -gt 1 ]] && port -f clean --all installed
    301301   port selfupdate
    302302   port outdated