[32625] branches/release_1_6/base/portmgr/dmg/postflight

jmpp at macports.org jmpp at macports.org
Wed Jan 9 17:08:27 PST 2008


Revision: 32625
          http://trac.macosforge.org/projects/macports/changeset/32625
Author:   jmpp at macports.org
Date:     2008-01-09 17:08:25 -0800 (Wed, 09 Jan 2008)

Log Message:
-----------

Don't exit with an error code if selfupdate fails. It may due to a number of "legit" reasons (most likely a firewall blocking rsync)
and hinting that something went "wrong" with the installer is not appropriate, since by the time we call selfupdate we're already
done both installing MacPorts and tweaking the user's environment (or not if not needed).

Modified Paths:
--------------
    branches/release_1_6/base/portmgr/dmg/postflight

Modified: branches/release_1_6/base/portmgr/dmg/postflight
===================================================================
--- branches/release_1_6/base/portmgr/dmg/postflight	2008-01-10 00:38:26 UTC (rev 32624)
+++ branches/release_1_6/base/portmgr/dmg/postflight	2008-01-10 01:08:25 UTC (rev 32625)
@@ -139,7 +139,6 @@
 port -v selfupdate || {
     echo "An attempt to synchronize your recent MacPorts installation with the project's rsync server failed!"
     echo "Please run 'port -d selfupdate' manually to find out the cause of the error."
-    exit 1
 }
 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080109/16e674a9/attachment.html


More information about the macports-changes mailing list