Replace macports.conf if the script was interrupted just after removing the old config and then restarted.