mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Provide a check/warning/fix for users that upgraded from an older release and missed UPDATING 20150213
Approved by: portmgr (bapt)
This commit is contained in:
parent
78226fbc1f
commit
041a8dd21d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391492
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ if [ -z "${LIB_DIRS}" -o -z "${LOCALBASE}" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [ $# -ne 1 ]; then
|
||||||
echo "$0: no argument provided." >&2
|
echo "$0: no argument provided." >&2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue