Revision 1.576 removed too much. I didn't notice because my /usr is on
ZFS, which doesn't support flags...
This commit is contained in:
parent
2b9573af36
commit
98a0900ab4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user