Created
August 13, 2012 06:49
-
-
Save dim/3337503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "Sorry, please run with sudo." | |
exit 1 | |
fi | |
echo "deb http://binaries.erlang-solutions.com/debian `lsb_release -c | cut -f2` contrib" | tee /etc/apt/sources.list.d/esl-erlang.list | |
wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - | |
aptitude update | |
aptitude remove erlang | |
aptitude install esl-erlang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment