[31932] branches/release_1_6/base/portmgr/dmg/postflight
jmpp at macports.org
jmpp at macports.org
Tue Dec 11 23:35:33 PST 2007
Revision: 31932
http://trac.macosforge.org/projects/macports/changeset/31932
Author: jmpp at macports.org
Date: 2007-12-11 23:35:32 -0800 (Tue, 11 Dec 2007)
Log Message:
-----------
Add a little more visual clue to the line where we warn that the existing $CONF_FILE, if any, was backed up: double ##'s above and below.
Remove stray debug flag.
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 2007-12-12 07:32:32 UTC (rev 31931)
+++ branches/release_1_6/base/portmgr/dmg/postflight 2007-12-12 07:35:32 UTC (rev 31932)
@@ -31,7 +31,6 @@
# $Id$
-set -x
# Abstraction variables:
PREFIX=/opt/local
BINPATH=$PREFIX/bin
@@ -67,7 +66,7 @@
echo "An attempt to backup your original configuration file failed! Please set your MacPorts compatible environment manually."
exit 1
}
- echo -e "\n#\n# Your previous $HOME/.$CONF_FILE file was backed up as $HOME/.$CONF_FILE.$BACKUP_SUFFIX\n#" >> $HOME/.$CONF_FILE
+ echo -e "\n##\n# Your previous $HOME/.$CONF_FILE file was backed up as $HOME/.$CONF_FILE.$BACKUP_SUFFIX\n##" >> $HOME/.$CONF_FILE
fi
echo -e "\n# $OUR_STRING adding an appropriate $1 variable for use with MacPorts." >> $HOME/.$CONF_FILE
case $1 in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071211/8b1475b5/attachment.html
More information about the macports-changes
mailing list