aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Scripts/find-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Scripts/find-lib.sh')
-rw-r--r--Mk/Scripts/find-lib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/Scripts/find-lib.sh b/Mk/Scripts/find-lib.sh
index 5bdc5dfeb3fd..4ac39f67e113 100644
--- a/Mk/Scripts/find-lib.sh
+++ b/Mk/Scripts/find-lib.sh
@@ -7,6 +7,13 @@ if [ -z "${LIB_DIRS}" -o -z "${LOCALBASE}" ]; then
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