[32700] branches/release_1_6/base/portmgr/dmg/postflight
jmpp at macports.org
jmpp at macports.org
Fri Jan 11 09:06:38 PST 2008
Revision: 32700
http://trac.macosforge.org/projects/macports/changeset/32700
Author: jmpp at macports.org
Date: 2008-01-11 09:06:36 -0800 (Fri, 11 Jan 2008)
Log Message:
-----------
* Concentrate the echo line indicating that an environemnt variable has been adapted into the 'write_setting' command, remove unnecessary redundancy;
* Correct a typo in said echo line and make it clearer that it's the *shell* environment what we're adapting.
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-11 16:58:40 UTC (rev 32699)
+++ branches/release_1_6/base/portmgr/dmg/postflight 2008-01-11 17:06:36 UTC (rev 32700)
@@ -90,6 +90,7 @@
esac
chown $USER $HOME/.$CONF_FILE || echo "Unable to switch your $HOME/.$CONF_FILE shell configuration file to your UID!"
echo -e "# Finished adapting your $1 environment variable for use with MacPorts.\n" >> $HOME/.$CONF_FILE
+ echo "An appropriate $1 variable has been added to your shell environment by the MacPorts installer."
}
@@ -125,7 +126,6 @@
echo "Your shell already has the right PATH environment variable for use with MacPorts!"
else
write_setting PATH
- echo "An appropriate PATH variable has been added to your environment by the MacPorts installed."
fi
# We gather the path into a variable of our own for faster operation:
@@ -145,7 +145,6 @@
echo "Your shell already has the right MANPATH environment variable for use with MacPorts!"
else
write_setting MANPATH
- echo "An appropriate MANPATH variable has been added to your environment by the MacPorts installed."
fi
# Adding a DISPLAY variable only if we're running on Tiger or less and if it doesn't already exist:
@@ -153,7 +152,6 @@
echo "Your shell already has the right DISPLAY environment variable for use with MacPorts!"
else
write_setting DISPLAY
- echo "An appropriate DISPLAY variable has been added to your environment by the MacPorts installed."
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080111/09d32940/attachment.html
More information about the macports-changes
mailing list