summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pcvt/keycap
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-25 00:17:05 +0000
committerbde <bde@FreeBSD.org>1995-07-25 00:17:05 +0000
commit24091efe316a2ecc057e66211b87e285a40134fb (patch)
tree486cf60987f11239245964e3a7e66854bd8962fe /usr.sbin/pcvt/keycap
parenta9ae1e691ee5590c2290200a0894197f4ca91d03 (diff)
downloadFreeBSD-src-24091efe316a2ecc057e66211b87e285a40134fb.zip
FreeBSD-src-24091efe316a2ecc057e66211b87e285a40134fb.tar.gz
Change `install' to `${INSTALL}' as usual.
Nuke potential for mkdir'ing /usr/lib. Don't move the the target to a backup file before installing it. This will defeat `install -C'.
Diffstat (limited to 'usr.sbin/pcvt/keycap')
-rw-r--r--usr.sbin/pcvt/keycap/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pcvt/keycap/Makefile b/usr.sbin/pcvt/keycap/Makefile
index 2c5f56f..cbcbc78 100644
--- a/usr.sbin/pcvt/keycap/Makefile
+++ b/usr.sbin/pcvt/keycap/Makefile
@@ -21,10 +21,7 @@ MAN5 = man5/keycap.${MAN5EXT}
#CLEANFILES+= keycap.0 man5/keycap.0
beforeinstall:
- @if [ ! -d ${LIBDIR} ]; then mkdir ${LIBDIR};fi
- @${ECHO} "Saving old keycap database"
- -mv -f ${DESTDIR}${CAPPATH} ${DESTDIR}${CAPPATH}.BAK
- install -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
+ ${INSTALL} -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
${.CURDIR}/${KEYCAPSRC} ${DESTDIR}${CAPPATH}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud