Update librespeed

This commit is contained in:
tremor021 2025-04-27 01:36:40 +02:00
parent 34d5e38b63
commit b5c01125e6

View File

@ -38,7 +38,7 @@ function update_script() {
cd /temp/speedtest-"${RELEASE}" cd /temp/speedtest-"${RELEASE}"
cp -u favicon.ico index.html speedtest.js speedtest_worker.js /opt/librespeed/ cp -u favicon.ico index.html speedtest.js speedtest_worker.js /opt/librespeed/
cp -ru backend /opt/librespeed/ cp -ru backend /opt/librespeed/
echo "${RELEASE}" >/opt/librespeed/"${APP}_version.txt" echo "${RELEASE}" >/opt/"${APP}"_version.txt
systemctl restart caddy systemctl restart caddy
msg_ok "$APP has been updated." msg_ok "$APP has been updated."
else else