Skip to content

Commit

Permalink
install script to install web monitor files
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed May 17, 2021
1 parent 3d620c4 commit c09ab08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ol/util/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
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/

0 comments on commit c09ab08

Please sign in to comment.