From 1dbe11a11d60e507c34bbca3e8319d45a10941eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Kr=C3=BCger?= Date: Tue, 23 Mar 2021 14:01:03 +0100 Subject: [PATCH] edit Autosetrepo.sh --- sh_scripts/Autosetrepo.sh | 28 +++++++++++++++++++++++++--- sh_scripts/repos/debian-11.txt | 13 +++++++++++++ sh_scripts/repos/debian-9.txt | 16 ++++++++++++++++ sh_scripts/repos/ubuntu-16.04.txt | 13 +++++++++++++ 4 files changed, 67 insertions(+), 3 deletions(-) create mode 100644 sh_scripts/repos/debian-11.txt create mode 100644 sh_scripts/repos/debian-9.txt create mode 100644 sh_scripts/repos/ubuntu-16.04.txt diff --git a/sh_scripts/Autosetrepo.sh b/sh_scripts/Autosetrepo.sh index e6a078c..8c7ee95 100644 --- a/sh_scripts/Autosetrepo.sh +++ b/sh_scripts/Autosetrepo.sh @@ -29,18 +29,40 @@ echo "" echo "" echo "" echo "LETS GO!" -apt-get update; case "$SYSTEM" in "Debian GNU/Linux 10 \n \l") + apt-get update apt install curl wget apt-transport-https dirmngr neofetch htop nload git -y - curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-18.04.txt" -o /etc/apt/source.list + curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/debian-10.txt" -o /etc/apt/source.list + apt update && apt upgrade -y + echo "Have Fun with the Official Repos :)" + ;; + "Debian GNU/Linux 9 \n \l") + apt-get update + apt install curl wget apt-transport-https dirmngr neofetch htop nload git -y + curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/debian-9.txt" -o /etc/apt/source.list + apt update && apt upgrade -y + echo "Have Fun with the Official Repos :)" + ;; + "Debian GNU/Linux 11 \n \l") + apt-get update + apt install curl wget apt-transport-https dirmngr neofetch htop nload git -y + curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/debian-11.txt" -o /etc/apt/source.list apt update && apt upgrade -y echo "Have Fun with the Official Repos :)" ;; "Ubuntu 18.04.5 LTS \n \l") + apt-get update apt-get install curl wget apt-transport-https dirmngr neofetch htop nload git -y - curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/debian-10.txt" -o /etc/apt/source.list + curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-18.04.txt" -o /etc/apt/source.list + apt-get update && apt-get upgrade -y + echo "Have Fun with the Official Repos :)" + ;; + "Ubuntu 16.04.7 LTS \n \l") + apt-get update + apt-get install curl wget apt-transport-https dirmngr neofetch htop nload git -y + curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-16.04.txt" -o /etc/apt/source.list apt-get update && apt-get upgrade -y echo "Have Fun with the Official Repos :)" ;; diff --git a/sh_scripts/repos/debian-11.txt b/sh_scripts/repos/debian-11.txt new file mode 100644 index 0000000..7b14ff7 --- /dev/null +++ b/sh_scripts/repos/debian-11.txt @@ -0,0 +1,13 @@ +#------------------------------------------------------------------------------# +# OFFICIAL DEBIAN REPOS +#------------------------------------------------------------------------------# + +###### Debian Main Repos +deb http://deb.debian.org/debian/ testing main contrib non-free +deb-src http://deb.debian.org/debian/ testing main contrib non-free + +deb http://deb.debian.org/debian/ testing-updates main contrib non-free +deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free + +deb http://deb.debian.org/debian-security testing-security main +deb-src http://deb.debian.org/debian-security testing-security main \ No newline at end of file diff --git a/sh_scripts/repos/debian-9.txt b/sh_scripts/repos/debian-9.txt new file mode 100644 index 0000000..17838d7 --- /dev/null +++ b/sh_scripts/repos/debian-9.txt @@ -0,0 +1,16 @@ +#------------------------------------------------------------------------------# +# OFFICIAL DEBIAN REPOS +#------------------------------------------------------------------------------# + +###### Debian Main Repos +deb http://deb.debian.org/debian/ oldstable main contrib non-free +deb-src http://deb.debian.org/debian/ oldstable main contrib non-free + +deb http://deb.debian.org/debian/ oldstable-updates main contrib non-free +deb-src http://deb.debian.org/debian/ oldstable-updates main contrib non-free + +deb http://deb.debian.org/debian-security oldstable/updates main +deb-src http://deb.debian.org/debian-security oldstable/updates main + +deb http://ftp.debian.org/debian stretch-backports main +deb-src http://ftp.debian.org/debian stretch-backports main \ No newline at end of file diff --git a/sh_scripts/repos/ubuntu-16.04.txt b/sh_scripts/repos/ubuntu-16.04.txt new file mode 100644 index 0000000..ad59146 --- /dev/null +++ b/sh_scripts/repos/ubuntu-16.04.txt @@ -0,0 +1,13 @@ +#------------------------------------------------------------------------------# +# OFFICIAL UBUNTU REPOS # +#------------------------------------------------------------------------------# + + +###### Ubuntu Main Repos +deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse + +###### Ubuntu Update Repos +deb http://archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse \ No newline at end of file