From b6bcaaa36d5d6556c747ca72898df9da62ce73a4 Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 4 Mar 2014 09:09:52 +0000 Subject: [PATCH] Update from Pat: First time users of the script on ubuntu will find an error when the script attempts to install packages using su instead of sudo. --- download_and_compile.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/download_and_compile.sh b/download_and_compile.sh index baea094..8577ca4 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -20,9 +20,13 @@ # Setting up for download_and_compile.sh is documented # on -VERSION="1.9-14" +VERSION="1.9-14a" # See change log below # +# Changes in 1.9.14a +# +# fixed distribution detection. +# # Changes in 1.9.14 # 1. Version bump for 2.99.9 now 3.0.0 # 2. changed logging to log entire output of a sub-process @@ -644,7 +648,7 @@ set -$opts # Script Section: Determine Linux Distribution # --------------------------------------------------------- -if [ -e /etc/lsb_release ] +if [ -e /etc/lsb-release ] then . /etc/lsb-release fi