libreoffice: fix desktop files for i686
Closes: #9615 [via git-merge-pr]
This commit is contained in:
parent
20835c8b18
commit
d0073eaa7e
1 changed files with 8 additions and 0 deletions
|
@ -218,3 +218,11 @@ do_install() {
|
|||
# Remove useless directory usr/lib32
|
||||
rm -rf ${DESTDIR}/usr/lib32
|
||||
}
|
||||
|
||||
post_install() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) # correct desktop files
|
||||
sed -i "s/libreoffice5.4/libreoffice/" ${DESTDIR}/usr/lib/libreoffice/share/xdg/*.desktop
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue