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.
|
# It's annoying, but better safe than sorry.
|
||||||
@for file in ${OLD_FILES}; do \
|
@for file in ${OLD_FILES}; do \
|
||||||
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
|
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
|
||||||
|
chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
|
||||||
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
@ -1202,6 +1203,7 @@ delete-old-libs:
|
|||||||
@echo "${OLD_LIBS_MESSAGE}" | fmt
|
@echo "${OLD_LIBS_MESSAGE}" | fmt
|
||||||
@for file in ${OLD_LIBS}; do \
|
@for file in ${OLD_LIBS}; do \
|
||||||
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
|
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
|
||||||
|
chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
|
||||||
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user