Delete existing .framework before installing it

This commit is contained in:
Jonathan Schleifer 2018-01-20 20:11:26 +01:00
parent 863de1adea
commit 60c40342c4
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3

View file

@ -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}; \