From eb4340f8a2908eba3adcc355033be07331f5e287 Mon Sep 17 00:00:00 2001 From: des Date: Sat, 19 May 2007 20:34:29 +0000 Subject: Revision 1.576 removed too much. I didn't notice because my /usr is on ZFS, which doesn't support flags... --- Makefile.inc1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 26f54e6..3f12c5e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1165,6 +1165,7 @@ delete-old-files: # It's annoying, but better safe than sorry. @for file in ${OLD_FILES}; do \ if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \ + chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \ rm ${RM_I} "${DESTDIR}/$${file}"; \ fi; \ done @@ -1202,6 +1203,7 @@ delete-old-libs: @echo "${OLD_LIBS_MESSAGE}" | fmt @for file in ${OLD_LIBS}; do \ if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \ + chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \ rm ${RM_I} "${DESTDIR}/$${file}"; \ fi; \ done -- cgit v1.1