From c09ab0895592b79c2d3b22ddba1a8200f1754663 Mon Sep 17 00:00:00 2001 From: lpgeiger <1364012+lpgeiger@users.noreply.github.com> Date: Mon, 17 May 2021 23:16:40 +0000 Subject: [PATCH] install script to install web monitor files --- ol/util/install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ol/util/install.sh b/ol/util/install.sh index d618534c74..c807504080 100644 --- a/ol/util/install.sh +++ b/ol/util/install.sh @@ -6,7 +6,9 @@ for b in $DOWNLOAD_URLS ; do \ echo $b | rev | cut -d"/" -f1 | rev ; \ curl --progress-bar --create-dirs -o /usr/local/bin/$(echo $b | rev | cut -d"/" -f1 | rev) -L $b ; \ echo 'downloaded to /usr/local/bin/' ; \ - chmod 744 /usr/local/bin/$(echo $b | rev | cut -d"/" -f1 | rev) ;\ + chmod 755 /usr/local/bin/$(echo $b | rev | cut -d"/" -f1 | rev) ;\ done - mv /usr/local/bin/ol_cli /usr/local/bin/ol \ No newline at end of file +mkdir -p ~/.0L/web-monitor/ +mv /usr/local/bin/web-monitor.zip ~/.0L/web-monitor.zip +unzip -o ~/.0L/web-monitor.zip -d ~/.0L/web-monitor/ \ No newline at end of file