MANIFEST: moving /app/usr to /app/share as it breaks appstream-compose - fix

This commit is contained in:
XargonWan 2024-10-31 10:53:48 +09:00
parent a492fdb0a6
commit 3f3c17158a

View file

@ -716,8 +716,11 @@ modules:
build-commands:
# This prevents appstream-compose to fail
- mv -n ${FLATPAK_DEST}/usr/** ${FLATPAK_DEST}/share
- rm -rf ${FLATPAK_DEST}/usr
- |
if [ -d ${FLATPAK_DEST}/usr ]; then
mv -n ${FLATPAK_DEST}/usr/** ${FLATPAK_DEST}/share
rm -rf ${FLATPAK_DEST}/usr
fi
# Initializing RO retrodeck config folder
- mkdir -p ${FLATPAK_DEST}/retrodeck