update repo-script

This commit is contained in:
2024-06-27 22:33:10 +02:00
parent 16efefc8d8
commit 25c4aaba67
3 changed files with 50 additions and 0 deletions

View File

@@ -54,6 +54,18 @@ if [ "$OLD" == "9" ]; then
apt-get install curl wget apt-transport-https dirmngr neofetch htop nload git -y
echo "Have Fun with the Official Repos :)"
fi
if [ "$SYSTEM" == "24" ]; then
curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-24.04.txt" -o /etc/apt/sources.list
apt-get update && apt-get upgrade -y
apt-get install curl wget apt-transport-https dirmngr neofetch htop nload git -y
echo "Have Fun with the Official Repos :)"
fi
if [ "$SYSTEM" == "22" ]; then
curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-22.04.txt" -o /etc/apt/sources.list
apt-get update && apt-get upgrade -y
apt-get install curl wget apt-transport-https dirmngr neofetch htop nload git -y
echo "Have Fun with the Official Repos :)"
fi
if [ "$SYSTEM" == "20" ]; then
curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/ubuntu-20.04.txt" -o /etc/apt/sources.list
apt-get update && apt-get upgrade -y

View File

@@ -0,0 +1,19 @@
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
###### Ubuntu Partner Repos
deb http://archive.canonical.com/ubuntu jammy partner
deb-src http://archive.canonical.com/ubuntu jammy partner

View File

@@ -0,0 +1,19 @@
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
###### Ubuntu Partner Repos
deb http://archive.canonical.com/ubuntu noble partner
deb-src http://archive.canonical.com/ubuntu noble partner