Update kasm.sh

This commit is contained in:
CanbiZ 2025-05-27 09:32:46 +02:00
parent 46996d4c2f
commit 025deb05dc

View File

@ -37,6 +37,7 @@ function update_script() {
curl -fsSL "https://kasm-static-content.s3.amazonaws.com/kasm_release_${RELEASE}.tar.gz" -o "$temp_file"
tar zxf "$temp_file"
chmod 777 /opt/kasm/backups/
mv /opt/kasm/1.*/certs/kasm_nginx.crt /opt/kasm/kasm_nginx.crt_bak
printf 'y\n' | $STD sudo bash /tmp/kasm_release/upgrade.sh
$STD sudo bash /tmp/kasm_release/upgrade.sh
echo "${RELEASE}" >/opt/${APP}_version.txt