[MacPorts] Scripts/testport_script modified

MacPorts noreply at macports.org
Tue Apr 24 04:07:16 PDT 2012


Changed page "Scripts/testport_script" by kato23 at mailinator.com from 84.163.23.167*
Page URL: <https://trac.macports.org/wiki/Scripts/testport_script>
Diff URL: <https://trac.macports.org/wiki/Scripts/testport_script?action=diff&version=9>
Revision 9

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Scripts/testport_script
=========================================================================
--- Scripts/testport_script (version: 8)
+++ Scripts/testport_script (version: 9)
@@ -305,8 +305,10 @@
 
 
 if [[ $remove -eq 1 ]]; then
-   [[ $(port installed "$@" | wc -l) -gt 1 ]] && port -f clean --all "$@"
-   [[ $(port installed "$@" | wc -l) -gt 1 ]] && port -f -v uninstall "$@"
+   if [[ $(port installed "$@" | wc -l) -gt 1 ]]; then
+      port -f clean --all "$@"
+      port -f -v uninstall "$@"
+   fi
 fi
 
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on Scripts/testport_script. If it was not you, please
report to .


More information about the macports-changes mailing list