From 17d04c77ad7475a46924dff414d57f366accc876 Mon Sep 17 00:00:00 2001 From: tb14 Date: Sat, 20 Jul 2019 06:02:56 -0700 Subject: [PATCH] Debian 10 buster enable source code. --- AmRRON-Setup-Script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 && \