mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-08 17:33:45 +02:00
edit Autosetrepo.sh
This commit is contained in:
@@ -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 :)"
|
||||
;;
|
||||
|
||||
13
sh_scripts/repos/debian-11.txt
Normal file
13
sh_scripts/repos/debian-11.txt
Normal 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
|
||||
16
sh_scripts/repos/debian-9.txt
Normal file
16
sh_scripts/repos/debian-9.txt
Normal 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
|
||||
13
sh_scripts/repos/ubuntu-16.04.txt
Normal file
13
sh_scripts/repos/ubuntu-16.04.txt
Normal 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
|
||||
Reference in New Issue
Block a user