Ignore:
Timestamp:
Jun 16, 2007, 1:08:04 AM (13 years ago)
Author:
jmpp@…
Message:

Also echo information only if the upgrade hasn't been already run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Makefile.in

    r26215 r26216  
    2828
    2929upgrade:
    30         @echo -e "\nUpgrading your existing MacPorts installation to the new layout:\n"
     30        @[ -f ${sysconfdir}/macports/.mprename_update ] || echo -e "\nUpgrading your existing MacPorts installation to the new layout:\n"
    3131
    3232# We can safely delete the ${TCL_PACKAGE_DIR}/darwinports1.0 dir as files in it are always overwritten and will now be installed onto
     
    140140
    141141# Upgrade success announcement (meaning we're done ;):
    142         @echo -e "\nMacPorts installation successfully upgraded from the old DarwinPorts namespace!\n"
     142        @[ -f ${sysconfdir}/macports/.mprename_update ] || echo -e "\nMacPorts installation successfully upgraded from the old DarwinPorts namespace!\n"
    143143
    144144####
     
    158158        @echo -e "sudo port selfupdate\n"
    159159        @echo -e "Please read port(1) and the MacPorts Wiki at http://trac.macports.org/ for full documentation.\n"
    160         @echo -e "Stray sources might have been left in the legacy ${localstatedir}/db/dports directory after this upgrade,"
    161         @echo -e "which moved most of what it could to ${localstatedir}/macports, so you might want to look in the former and cleanup manually.\n"
     160        @[ -f ${sysconfdir}/macports/.mprename_update ] || echo -e "Stray sources might have been left in the legacy ${localstatedir}/db/dports directory after this upgrade, which moved most of what it could to ${localstatedir}/macports, so you might want to look in the former and cleanup manually.\n"
    162161
    163162clean::
Note: See TracChangeset for help on using the changeset viewer.