Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mportselect: always delete existing symlinks
If the previously selected port was uninstalled, the 'current' symlink would be left pointing to the old select file that is no longer available. The condition using 'file exists' follows the symlink and checks its target, not the symlink itself. It is safe to always call 'file delete' as deletion of a non-existing target is not an error. Closes: https://trac.macports.org/ticket/31702
- Loading branch information