Properly delete data dir.
This commit is contained in:
parent
a425bcb7ad
commit
c1bdcbc084
1 changed files with 3 additions and 1 deletions
|
@ -417,8 +417,10 @@ uninstall: uninstall-extra
|
||||||
else \
|
else \
|
||||||
${DELETE_FAILED}; \
|
${DELETE_FAILED}; \
|
||||||
fi \
|
fi \
|
||||||
fi \
|
fi; \
|
||||||
|
rmdir "$$(dirname ${DESTDIR}${datadir}/${PACKAGE}/$$i)" >/dev/null 2>&1 || true; \
|
||||||
done
|
done
|
||||||
|
-rmdir ${DESTDIR}${datadir}/${PACKAGE} >/dev/null 2>&1
|
||||||
|
|
||||||
for i in ${PROG}; do \
|
for i in ${PROG}; do \
|
||||||
if test -f ${DESTDIR}${bindir}/$$i; then \
|
if test -f ${DESTDIR}${bindir}/$$i; then \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue