diff --git a/scripts/install_dependencies.sh b/scripts/install_dependencies.sh index 2fa104c86..951d13967 100755 --- a/scripts/install_dependencies.sh +++ b/scripts/install_dependencies.sh @@ -3,8 +3,10 @@ # exit on errors set -e +source /etc/lsb-release + # add the STOL APT repository -echo "deb [trusted=yes] http://s3.amazonaws.com/stol-apt-repository develop main" > /etc/apt/sources.list.d/stol-apt-repository.list +echo "deb [trusted=yes] http://s3.amazonaws.com/stol-apt-repository ${DISTRIB_CODENAME} main" > /etc/apt/sources.list.d/stol-apt-repository.list apt-get update