diff --git a/install.sh b/install.sh index a2c6ee9..4177f85 100755 --- a/install.sh +++ b/install.sh @@ -55,11 +55,11 @@ os_unsupported () { exit 2; } -if [ $os_check = 'Raspbian' ]; then +if [ .$os_check = .'Raspbian' ]; then echo "${yellow}Detected Raspbian, using Debian for compatibility${normal}" os_check="Debian" fi -if [ $os_check = 'Debian' ]; then +if [ .$os_check = .'Debian' ]; then if [ $check_major_release -ge 8 ]; then verbose "Removing the CD image from /etc/apt/sources.list" sed -i '/cdrom:/d' /etc/apt/sources.list