We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2f7a9 commit 043baf2Copy full SHA for 043baf2
ct/revealjs.sh
@@ -39,10 +39,13 @@ function update_script() {
39
wget -q "https://github.com/hakimel/reveal.js/archive/refs/tags/${RELEASE}.tar.gz" -O $temp_file
40
tar zxf $temp_file
41
rm -rf /opt/revealjs/node_modules/*
42
+ cp /opt/revealjs/index.html /opt
43
+ cp /opt/revealjs/gulpfile.js /opt
44
cp -rf reveal.js-${RELEASE}/* /opt/revealjs
45
cd /opt/revealjs
46
$STD npm install
- sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js
47
+ cp -f /opt/index.html /opt/revealjs
48
+ cp -f /opt/gulpfile.js /opt/revealjs
49
echo "${RELEASE}" >/opt/${APP}_version.txt
50
msg_ok "Updated $APP to ${RELEASE}"
51
0 commit comments