diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 70e6dcec50b..bacd17a57b3 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -51,6 +51,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20240527: csh: Remove hardlink /.cshrc +OLD_FILES+=.cshrc + # 20240511: move file system driver manuals to section four OLD_FILES+=usr/share/man/man5/autofs.5.gz OLD_FILES+=usr/share/man/man5/cd9660.5.gz diff --git a/bin/csh/Makefile b/bin/csh/Makefile index d9f40f18034..6b05c01e0a6 100644 --- a/bin/csh/Makefile +++ b/bin/csh/Makefile @@ -159,13 +159,4 @@ tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h ${BUILD sort >> ${.TARGET} @echo '#endif /* _h_tc_const */' >> ${.TARGET} -beforeinstallconfig: - rm -f ${DESTDIR}/.cshrc - -afterinstallconfig: - # XXX Set link mode explicitly via -m. We cannot use LINKMODE for this - # link, as it would also apply to the tcsh link above. - ${INSTALL_LINK} ${TAG_ARGS} -m ${CONFMODE} ${DESTDIR}/root/.cshrc \ - ${DESTDIR}/.cshrc - .include