From 98d703dc2757368e896bdaee284ddaa3a7513d95 Mon Sep 17 00:00:00 2001 From: Ollama Date: Wed, 13 May 2026 23:01:39 +0200 Subject: [PATCH] fix: extract release zip directly to OSPOS directory The release zip files extract at root level without a subdirectory --- scripts/install-ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-ubuntu.sh b/scripts/install-ubuntu.sh index 468370e8e..f369245c3 100644 --- a/scripts/install-ubuntu.sh +++ b/scripts/install-ubuntu.sh @@ -140,9 +140,9 @@ if [ ! -f ospos.zip ] || [ ! -s ospos.zip ]; then exit 1 fi -ASSET_NAME=$(basename "$ASSET_URL" .zip) unzip -q ospos.zip -d ospos-temp -mv ospos-temp/$ASSET_NAME ospos +mkdir -p ${OSPOS_DIR} +cp -r ospos-temp/* ${OSPOS_DIR}/ rm -rf ospos-temp ospos.zip echo -e "${COLOR_GREEN}Downloaded OSPOS ${OSPOS_VERSION}${COLOR_RESET}"