From 9acb0f24dddae9090798701450ac0be09d66a448 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Sun, 26 Apr 2020 17:26:16 +0000 Subject: [PATCH] 'Mysql-alternate-Repo-Setup-DebUbu.sh' toevoegen --- Mysql-alternate-Repo-Setup-DebUbu.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Mysql-alternate-Repo-Setup-DebUbu.sh diff --git a/Mysql-alternate-Repo-Setup-DebUbu.sh b/Mysql-alternate-Repo-Setup-DebUbu.sh new file mode 100644 index 0000000..cc75309 --- /dev/null +++ b/Mysql-alternate-Repo-Setup-DebUbu.sh @@ -0,0 +1,10 @@ +################# +# WARING! # +# Not yet tested# +################# + +Dist=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"') +DistVersion=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"') + +apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 +echo "deb http://repo.mysql.com/apt/"$Dist"/ "$DistVersion" mysql-8.0" >/etc/apt/sources.list.d/mysql.list \ No newline at end of file