[22736] trunk/base/portmgr/dmg/postflight
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 12 21:18:36 PDT 2007
Revision: 22736
http://trac.macosforge.org/projects/macports/changeset/22736
Author: jmpp at macports.org
Date: 2007-03-12 21:18:36 -0700 (Mon, 12 Mar 2007)
Log Message:
-----------
Merging r22735: dp --> mp updates to the dmg's postflight script.
Modified Paths:
--------------
trunk/base/portmgr/dmg/postflight
Modified: trunk/base/portmgr/dmg/postflight
===================================================================
--- trunk/base/portmgr/dmg/postflight 2007-03-13 04:10:22 UTC (rev 22735)
+++ trunk/base/portmgr/dmg/postflight 2007-03-13 04:18:36 UTC (rev 22736)
@@ -1,9 +1,9 @@
#!/bin/bash
#
+# Copyright (c) 2007 Juan Manuel Palacios <jmpp at macports.org>
# Copyright (c) 2005 Ole Guldberg Jensen <olegb at opendarwin.org>
# Copyright (c) 2005 Dr. Ernie Prabhakar <drernir at opendarwin.org>
# Copyright (c) 2005 Matt Anton <matt at opendarwin.org>
-# Copyright (c) 2005 Juan Manuel Palacios <jmpp at opendarwin.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -47,19 +47,19 @@
echo "Setting the PATH of $USHELL for $USER in ${HOME:=/Users/$USER}..."
case $USHELL in
*csh)
- /bin/cp -fp $HOME/.cshrc $HOME/.cshrc.dpsaved # we backup the original
+ /bin/cp -fp $HOME/.cshrc $HOME/.cshrc.mpsaved # we backup the original
echo "#" >> $HOME/.cshrc
- echo "# Your previous .cshrc (if any) is saved as .cshrc.dpsaved" >> $HOME/.cshrc
- echo "# Setting the path for DarwinPorts." >> $HOME/.cshrc
+ echo "# Your previous .cshrc (if any) is saved as .cshrc.mpsaved" >> $HOME/.cshrc
+ echo "# Setting the path for MacPorts." >> $HOME/.cshrc
echo "set path=($BINPATH $SBINPATH" '$path'")" >> $HOME/.cshrc
chown $USER $HOME/.cshrc
echo "Finished modifying $HOME/.cshrc"
;;
*sh)
- /bin/cp -fp $HOME/.profile $HOME/.profile.dpsaved # we backup the original
+ /bin/cp -fp $HOME/.profile $HOME/.profile.mpsaved # we backup the original
echo "#" >> $HOME/.profile
- echo "# Your previous .profile (if any) is saved as .profile.dpsaved" >> $HOME/.profile
- echo "# Setting the path for DarwinPorts." >> $HOME/.profile
+ echo "# Your previous .profile (if any) is saved as .profile.mpsaved" >> $HOME/.profile
+ echo "# Setting the path for MacPorts." >> $HOME/.profile
echo "export PATH=$BINPATH:$SBINPATH:\$PATH" >> $HOME/.profile
chown $USER $HOME/.profile
echo "Finished modifying $HOME/.profile"
@@ -75,19 +75,19 @@
# run selfupdate
echo""
-echo "Selfupdating The DarwinPorts system ..."
+echo "Selfupdating The MacPorts system ..."
echo ""
port -d selfupdate
if [ $? != 0 ]; then
- echo "An attempt to synchronize your recent DarwinPorts installation with OpenDarwin servers failed, please run 'port -d selfupdate' manually to find out the cause of the error."
+ echo "An attempt to synchronize your recent MacPorts installation with the rsync server failed, please run 'port -d selfupdate' manually to find out the cause of the error."
exit
fi
# done !!
echo ""
-echo "You have succesfully installed the DarwinPorts system."
+echo "You have succesfully installed the MacPorts system."
echo ""
echo "Launch a terminal and try it out !!"
-echo "Read the port manualpage for help."
+echo "Read the port manual page for help."
echo ""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070312/1f82bd21/attachment.html
More information about the macports-changes
mailing list