summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-08 22:27:49 +0000
committerache <ache@FreeBSD.org>1994-12-08 22:27:49 +0000
commit6e69666f0bad6827cb9ff20ef727f7028252667d (patch)
treeb36e8c212e524fec464b66de56a98e6fed861013 /usr.bin/mklocale
parent270f02056c71fcf8f0c9d55378e49d680351f936 (diff)
downloadFreeBSD-src-6e69666f0bad6827cb9ff20ef727f7028252667d.zip
FreeBSD-src-6e69666f0bad6827cb9ff20ef727f7028252667d.tar.gz
Remove links before creating them
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
index 44e305b..4857e30 100644
--- a/usr.bin/mklocale/Makefile
+++ b/usr.bin/mklocale/Makefile
@@ -20,6 +20,7 @@ afterinstall:
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done
cd ${LOCALEDIR}; for locale in ${ISO88591NAMES}; do \
+ rm -f $$locale.ISO8859-1; \
ln -s ${ISO88591} $$locale.ISO8859-1; \
done
chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}
OpenPOWER on IntegriCloud