diff options
author | mdrights <mdrights@tutanota.de> | 2020-01-25 12:53:59 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-26 06:55:46 +0700 |
commit | 4c0c1697bc66704edaaf5253672c77207cbc2759 (patch) | |
tree | 5e20c68ae4c4de27eb6740df580403e72473c223 /network/riot-web/riot-web.SlackBuild | |
parent | 0ab03b384996d7bdfe25829fd7ac1e1a71b4aa47 (diff) |
network/riot-web: Updated for version 1.5.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/riot-web/riot-web.SlackBuild')
-rw-r--r-- | network/riot-web/riot-web.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/network/riot-web/riot-web.SlackBuild b/network/riot-web/riot-web.SlackBuild index ef5f0a3b221af..a14a65d626278 100644 --- a/network/riot-web/riot-web.SlackBuild +++ b/network/riot-web/riot-web.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=riot-web PKGNAM=riot -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-1.5.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,9 +74,11 @@ mkdir -p $PKG/opt mv ${PKGNAM}-v${VERSION} $PKG/opt/${PRGNAM} # Create a script to let the browser to launch the app. -mkdir -p $PKG/usr/bin -echo -e "#!/bin/bash -$BROWSER /opt/${PRGNAM}/index.html" \ +mkdir -p $PKG/usr/local/bin +echo -e "#!/bin/sh +cd /opt/riot-web && python -m SimpleHTTPServer 8000 & +sleep 5 +$BROWSER http://localhost:8000" \ > $PKG/usr/bin/riot-web chmod a+x $PKG/usr/bin/riot-web |