Commit ce69de78 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update install.sh

parent 1710a99f
......@@ -5,7 +5,7 @@ if [ $( id -u $(whoami) ) != 0 ]; then
exit 1
fi
codename=$( if ! which lsb_release ; then grep ^VERSION= /etc/os-release | cut -d \( -f 2 | cut -d \) -f 1 ; else lsb_release -c | cut -f 2 ; fi )
codename=$( if ! which lsb_release > /dev/null ; then grep ^VERSION= /etc/os-release | cut -d \( -f 2 | cut -d \) -f 1 ; else lsb_release -c | cut -f 2 ; fi )
case "x$1" in
"x") version="$codename";;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment