diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index d79a213..f672de0 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -2878,7 +2878,7 @@ fi function enable_source_repositories() { if [[ ${PLAT} = "Raspbian" ]]; then - if [[ ${VER} = "stretch" ]]; then + if [[ ${OSCN} = "stretch" ]]; then sudo echo 'deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi' | \ sudo tee -a /etc/apt/sources.list && sudo apt-get -y update && \ yad \ @@ -2887,7 +2887,7 @@ yad \ --title "Source Code Repositories Enabled" \ --text "Successfully enabled source code repositories" ${r} ${c} - elif [[ ${VER} = "buster" ]]; then + elif [[ ${OSCN} = "buster" ]]; then sudo echo 'deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi' | \ sudo tee -a /etc/apt/sources.list && sudo apt-get -y update && \