Update kasm.sh

This commit is contained in:
CanbiZ 2025-05-27 09:51:17 +02:00
parent ff318911e6
commit 1216d2f27c

View File

@ -36,6 +36,7 @@ function update_script() {
temp_file=$(mktemp)
curl -fsSL "https://kasm-static-content.s3.amazonaws.com/kasm_release_${RELEASE}.tar.gz" -o "$temp_file"
tar zxf "$temp_file"
mkdir -p /opt/kasm/backups/
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