pandora_vagrant/install.sh
2017-03-16 23:08:08 +01:00

18 lines
587 B
Bash
Executable file

#!/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
locale-gen en_US.UTF-8
export LANG=en_US.UTF-8
echo LANG=en_US.UTF-8 >> /etc/locale.conf
curl -sL https://pan.do/ra-install > /srv/pandora_install.sh
chmod +x /srv/pandora_install.sh
echo "Installing pan.do/ra..."
echo "logging installation progress into pandora_install.log"
export PANDORA=ubuntu
/srv/pandora_install.sh >/srv/pandora_install.log 2>&1
rm /srv/pandora_install.sh
fi