Skip to content

Commit d68c466

Browse files
authored
Fix update process (#3341)
1 parent e3a20e3 commit d68c466

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ct/revealjs.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ function update_script() {
4040
tar zxf $temp_file
4141
rm -rf /opt/revealjs/node_modules/*
4242
cp /opt/revealjs/index.html /opt
43-
cp /opt/revealjs/gulpfile.js /opt
4443
cp -rf reveal.js-${RELEASE}/* /opt/revealjs
4544
cd /opt/revealjs
4645
$STD npm install
4746
cp -f /opt/index.html /opt/revealjs
48-
cp -f /opt/gulpfile.js /opt/revealjs
47+
sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js
4948
echo "${RELEASE}" >/opt/${APP}_version.txt
5049
msg_ok "Updated $APP to ${RELEASE}"
5150

0 commit comments

Comments
 (0)