Update cosmos-install.sh

This commit is contained in:
Sam Heinz
2025-04-21 22:19:50 +10:00
parent 59d1a9b732
commit b0dcdbdb29
+2 -2
View File
@@ -41,8 +41,8 @@ curl -fsSL "https://github.com/azukaar/Cosmos-Server/releases/download/${LATEST_
cd /opt/cosmos cd /opt/cosmos
unzip -o -q "${ZIP_FILE}" unzip -o -q "${ZIP_FILE}"
LATEST_RELEASE_NO_V=${LATEST_RELEASE#v} LATEST_RELEASE_NO_V=${LATEST_RELEASE#v}
mv /opt/cosmos/cosmos-cloud-${LATEST_RELEASE_NO_V}/* /opt/cosmos/ mv /opt/cosmos/cosmos-cloud-${LATEST_RELEASE_NO_V}-arm64/* /opt/cosmos/
rmdir /opt/cosmos/cosmos-cloud-${LATEST_RELEASE_NO_V} rmdir /opt/cosmos/cosmos-cloud-${LATEST_RELEASE_NO_V}-arm64
chmod +x /opt/cosmos/cosmos chmod +x /opt/cosmos/cosmos
msg_ok "Installed Cosmos" msg_ok "Installed Cosmos"