From 3f3c17158a78d063bdafaf10b585b98262de5c92 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 31 Oct 2024 10:53:48 +0900 Subject: [PATCH] MANIFEST: moving /app/usr to /app/share as it breaks appstream-compose - fix --- net.retrodeck.retrodeck.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 3a63396b..4714ce9d 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -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