[MacPorts] Scripts/testport_script modified

MacPorts noreply at macports.org
Tue Apr 24 04:03:19 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=8>
Revision 8

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Scripts/testport_script
=========================================================================
--- Scripts/testport_script (version: 7)
+++ Scripts/testport_script (version: 8)
@@ -297,7 +297,7 @@
 export PATH
 
 if [[ $update -eq 1 ]]; then
-   port -f clean --all installed
+   [[ $(port installed | wc -l) -gt 1 ]] && port -f clean --all installed
    port selfupdate
    port outdated
    [[ $(port outdated | wc -l) -gt 1 ]] && port upgrade -R -u outdated

-------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