From 4b47671b7212fb6ce5a39c4d7a4d31da88000dc5 Mon Sep 17 00:00:00 2001 From: Johannes Date: Sun, 4 Apr 2021 23:49:04 +0200 Subject: [PATCH] add ubuntu 20.04 repo + fix #1 --- README.md | 2 +- sh_scripts/Autosetrepo.sh | 7 +++++++ sh_scripts/repos/ubuntu-20.04.txt | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 sh_scripts/repos/ubuntu-20.04.txt diff --git a/README.md b/README.md index 93fe0a3..1cc4cc6 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ is not finished
## Repo Autosetrepo -![](https://img.shields.io/badge/Debian%2011-testing!-black) ![](https://img.shields.io/badge/Debian%2010-work!-green) ![](https://img.shields.io/badge/Debian%209-work!-green) ![](https://img.shields.io/badge/Ubuntu--18.04-work!-green) ![](https://img.shields.io/badge/Ubuntu--16.04-work!-green)
+![](https://img.shields.io/badge/Debian%2011-testing!-black) ![](https://img.shields.io/badge/Debian%2010-work!-green) ![](https://img.shields.io/badge/Debian%209-work!-green) ![](https://img.shields.io/badge/Ubuntu--20.04-work!-green)![](https://img.shields.io/badge/Ubuntu--18.04-work!-green) ![](https://img.shields.io/badge/Ubuntu--16.04-work!-green)
bash <(wget -O - 'https://git.io/JYBMr') diff --git a/sh_scripts/Autosetrepo.sh b/sh_scripts/Autosetrepo.sh index fd95c19..7737806 100644 --- a/sh_scripts/Autosetrepo.sh +++ b/sh_scripts/Autosetrepo.sh @@ -66,6 +66,13 @@ case "$SYSTEM" in apt-get update && apt-get upgrade -y echo "Have Fun with the Official Repos :)" ;; + "Ubuntu 20.04.2 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-20.04.txt" -o /etc/apt/source.list + apt-get update && apt-get upgrade -y + echo "Have Fun with the Official Repos :)" + ;; *) clear echo "DE >" diff --git a/sh_scripts/repos/ubuntu-20.04.txt b/sh_scripts/repos/ubuntu-20.04.txt new file mode 100644 index 0000000..0232680 --- /dev/null +++ b/sh_scripts/repos/ubuntu-20.04.txt @@ -0,0 +1,19 @@ +#------------------------------------------------------------------------------# +# OFFICIAL UBUNTU REPOS # +#------------------------------------------------------------------------------# + + +###### Ubuntu Main Repos +deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse +deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse +deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse + + +###### Ubuntu Partner Repos +deb http://archive.canonical.com/ubuntu focal partner +deb-src http://archive.canonical.com/ubuntu focal partner \ No newline at end of file