mirror of
https://github.com/snoyberg/keter.git
synced 2024-11-30 22:15:23 +03:00
setup-keter: Exit on missing lsb_release
. Fixes #179
This commit is contained in:
parent
4a375ca991
commit
c497035775
@ -4,8 +4,10 @@ set -o errexit -o nounset -o xtrace
|
||||
# Quick start:
|
||||
# wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash -ex
|
||||
|
||||
LSB_RELEASE=$(lsb_release -sc)
|
||||
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 575159689BEFB442
|
||||
echo "deb http://download.fpcomplete.com/ubuntu \"$(lsb_release -sc)\" main"|sudo tee /etc/apt/sources.list.d/fpco.list
|
||||
echo "deb http://download.fpcomplete.com/ubuntu \"${LSB_RELEASE}\" main"|sudo tee /etc/apt/sources.list.d/fpco.list
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install postgresql stack zlib1g-dev
|
||||
|
Loading…
Reference in New Issue
Block a user