add ubuntu 20.04 repo + fix #1

This commit is contained in:
2021-04-04 23:49:04 +02:00
parent a58f1ac554
commit 4b47671b72
3 changed files with 27 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ is not finished<br>
## 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)<br>
![](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)<br>
<code>bash <(wget -O - 'https://git.io/JYBMr')</code>

View File

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

View File

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