Delete existing .framework before installing it
This commit is contained in:
parent
863de1adea
commit
60c40342c4
1 changed files with 2 additions and 1 deletions
|
@ -699,7 +699,8 @@ install: all install-extra
|
||||||
for i in "" ${FRAMEWORK}; do \
|
for i in "" ${FRAMEWORK}; do \
|
||||||
test x"$$i" = x"" && continue; \
|
test x"$$i" = x"" && continue; \
|
||||||
${INSTALL_STATUS}; \
|
${INSTALL_STATUS}; \
|
||||||
if ${MKDIR_P} ${DESTDIR}${prefix}/Library/Frameworks && cp -R ${FRAMEWORK} ${DESTDIR}${prefix}/Library/Frameworks/${FRAMEWORK}; then \
|
rm -fr ${DESTDIR}${prefix}/Library/Frameworks/$$i; \
|
||||||
|
if ${MKDIR_P} ${DESTDIR}${prefix}/Library/Frameworks && cp -R $$i ${DESTDIR}${prefix}/Library/Frameworks/; then \
|
||||||
${INSTALL_OK}; \
|
${INSTALL_OK}; \
|
||||||
else \
|
else \
|
||||||
${INSTALL_FAILED}; \
|
${INSTALL_FAILED}; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue