From d68c46604e9c9cbf884cf1408540627b622c4c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 22 Mar 2025 21:33:31 +0100 Subject: [PATCH] Fix update process (#3341) --- ct/revealjs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/revealjs.sh b/ct/revealjs.sh index b9bebeb55..5870d581c 100644 --- a/ct/revealjs.sh +++ b/ct/revealjs.sh @@ -40,12 +40,11 @@ function update_script() { tar zxf $temp_file rm -rf /opt/revealjs/node_modules/* cp /opt/revealjs/index.html /opt - cp /opt/revealjs/gulpfile.js /opt cp -rf reveal.js-${RELEASE}/* /opt/revealjs cd /opt/revealjs $STD npm install cp -f /opt/index.html /opt/revealjs - cp -f /opt/gulpfile.js /opt/revealjs + sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP to ${RELEASE}"