mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Debian 10 buster enable source code.
This commit is contained in:
@@ -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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user