svn commit: r391492 - head/Mk/Scripts
Ryan Steinmetz
zi at FreeBSD.org
Tue Jul 7 06:03:36 UTC 2015
Author: zi
Date: Tue Jul 7 06:03:35 2015
New Revision: 391492
URL: https://svnweb.freebsd.org/changeset/ports/391492
Log:
- Provide a check/warning/fix for users that upgraded from an older release and missed UPDATING 20150213
Approved by: portmgr (bapt)
Modified:
head/Mk/Scripts/find-lib.sh (contents, props changed)
Modified: head/Mk/Scripts/find-lib.sh
==============================================================================
--- head/Mk/Scripts/find-lib.sh Tue Jul 7 06:00:03 2015 (r391491)
+++ head/Mk/Scripts/find-lib.sh Tue Jul 7 06:03:35 2015 (r391492)
@@ -7,6 +7,13 @@ if [ -z "${LIB_DIRS}" -o -z "${LOCALBASE
exit 1
fi
+if [ -f /usr/share/misc/magic.mime -o -f /usr/share/misc/magic.mime.mgc ]; then
+ echo "Either /usr/share/misc/magic.mime or /usr/share/misc/mime.magic.mgc exist and must be removed." >&2
+ echo "These are legacy files from an older release and may safely be deleted." >&2
+ echo "Please see UPDATING 20150213 for more details." >&2
+ exit 1
+fi
+
if [ $# -ne 1 ]; then
echo "$0: no argument provided." >&2
fi
More information about the svn-ports-head
mailing list