From 4629403dec873a81714ead38b05aed7be2029ca6 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 25 Aug 2022 10:21:57 +0200 Subject: [PATCH] build script for AppImage should not assume Nextcloud is the name Signed-off-by: Matthieu Gallien --- admin/linux/build-appimage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/linux/build-appimage.sh b/admin/linux/build-appimage.sh index ec6ce62c5ef08..33298a06b08de 100755 --- a/admin/linux/build-appimage.sh +++ b/admin/linux/build-appimage.sh @@ -109,7 +109,7 @@ export LD_LIBRARY_PATH=/usr/lib/ # Workaround issue #103 rm -rf ./squashfs-root -APPIMAGE=$(ls Nextcloud*.AppImage) +APPIMAGE=$(ls *.AppImage) "./${APPIMAGE}" --appimage-extract rm "./${APPIMAGE}" rm ./squashfs-root/usr/lib/libglib-2.0.so.0 @@ -119,6 +119,6 @@ PATH=./linuxdeployqt-squashfs-root/usr/bin:$PATH appimagetool -n ./squashfs-root #move AppImage if [ ! -z "$DRONE_COMMIT" ] then - mv Nextcloud*.AppImage Nextcloud-${SUFFIX}-${DRONE_COMMIT}-x86_64.AppImage + mv *.AppImage ${APPNAME}-${SUFFIX}-${DRONE_COMMIT}-x86_64.AppImage fi mv *.AppImage ${DESKTOP_CLIENT_ROOT}/