edit Autosetrepo.sh

This commit is contained in:
2021-03-23 14:01:03 +01:00
parent 896be0b6a1
commit 1dbe11a11d
4 changed files with 67 additions and 3 deletions

View File

@@ -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 :)"
;;

View File

@@ -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

View File

@@ -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

View File

@@ -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