ctf-tools/pyvmmonitor/install

13 lines
315 B
Text
Raw Normal View History

#!/bin/bash -ex
2016-07-06 07:23:01 +00:00
# retry because the server is not reliable
2016-10-11 09:51:00 +00:00
wget -t 10 http://www.mediafire.com/download/bzmazee4bcysbi4/pyvmmonitor_1.0.1_linux.x86_64.tar.gz -O - | tar xvz
2016-07-06 07:23:01 +00:00
mkdir -p bin
cat <<END > bin/pyvmmonitor-ui
#!/bin/bash -e
cd $PWD/pyvmmonitor
exec ./pyvmmonitor-ui "\$@"
END
chmod 755 bin/pyvmmonitor-ui