Debian 10 buster enable source code.

This commit is contained in:
tb14
2019-07-20 06:02:56 -07:00
parent 0a2499efda
commit 17d04c77ad
+2 -2
View File
@@ -2878,7 +2878,7 @@ fi
function enable_source_repositories() { function enable_source_repositories() {
if [[ ${PLAT} = "Raspbian" ]]; then 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 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 && \ sudo tee -a /etc/apt/sources.list && sudo apt-get -y update && \
yad \ yad \
@@ -2887,7 +2887,7 @@ yad \
--title "Source Code Repositories Enabled" \ --title "Source Code Repositories Enabled" \
--text "Successfully enabled source code repositories" ${r} ${c} --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 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 && \ sudo tee -a /etc/apt/sources.list && sudo apt-get -y update && \