fix: extract release zip directly to OSPOS directory

The release zip files extract at root level without a subdirectory
This commit is contained in:
Ollama committed 2026-05-19 08:57:32 +02:00
1 parent c589367479
commit 98d703dc27
1 file changed
+2 -2
+2 -2
View File
@@ -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}"