diff options
-rw-r--r-- | editors/libreoffice/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index bb1b1d9ab4b2..2f3b96ae6a3d 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -421,13 +421,14 @@ post-install: .for subdir in application-registry applications icons mime mime-info mimelnk @cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s share/${subdir} \( -type f -o -type l \) -print >> ${PLISTF} @cd ${LODESTDIR}/${PREFIX}/ && ${FIND} -d share/${subdir} -type d \ - -exec ${ECHO_CMD} "@exec ${RMDIR} %D/{} 2>/dev/null || ${TRUE}" \; >> ${PLISTD} + -exec ${ECHO_CMD} "@unexec ${RMDIR} %D/{} 2>/dev/null || ${TRUE}" \; >> ${PLISTD} .endfor @cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s bin \( -type f -o -type l \) -print >> ${PLISTF} #Fix .desktop files - @${FIND} ${LODESTDIR}/${PREFIX} -name *.desktop -type f -exec ${SED} -i"" -e 's|office34|office|g; s|office3.4|office|g' {} \; + @${FIND} ${LODESTDIR}/${PREFIX} -name *.desktop -type f -exec ${SED} -i .bak -e 's|office34|office|g; s|office3.4|office|g' {} \; + @${FIND} ${LODESTDIR}/${PREFIX} -name *.desktop.bak -delete .if defined(WITH_GTK) || defined(WITH_GNOME) @${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database > /dev/null || ${TRUE}" >> ${TMPPLIST} |