[MacPorts] Scripts/testport_script modified

MacPorts noreply at macports.org
Wed Apr 25 10:10:49 PDT 2012


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

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: Scripts/testport_script
=========================================================================
--- Scripts/testport_script (version: 9)
+++ Scripts/testport_script (version: 10)
@@ -306,8 +306,11 @@
 
 if [[ $remove -eq 1 ]]; then
    if [[ $(port installed "$@" | wc -l) -gt 1 ]]; then
+      printf '\n\n%s\n\n\n' "Uninstalling: $@"
       port -f clean --all "$@"
       port -f -v uninstall "$@"
+   elif [[ -d "$(port dir "$@")/work" ]]; then
+      port -f clean --all "$@"
    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