14 lines
518 B
Bash
14 lines
518 B
Bash
|
#!/bin/bash
|
||
|
if [ -x /srv/pandora ]; then
|
||
|
sudo -H -u vagrant /srv/pandora/update.py dev
|
||
|
else
|
||
|
apt-get update -qq
|
||
|
apt-get install -y curl >/dev/null 2>&1
|
||
|
curl https://wiki.0x2620.org/browser/pandora/vm/pandora_install.sh?format=txt > /vagrant/pandora_install.sh 2>/dev/null
|
||
|
echo "Installing pan.do/ra..."
|
||
|
echo "logging installation progress into pandora_install.log"
|
||
|
export PUSER=vagrant
|
||
|
/vagrant/pandora_install.sh >/vagrant/pandora_install.log 2>&1
|
||
|
rm /vagrant/pandora_install.sh
|
||
|
fi
|