'Mysql-alternate-Repo-Setup-DebUbu.sh' toevoegen
This commit is contained in:
10
Mysql-alternate-Repo-Setup-DebUbu.sh
Normal file
10
Mysql-alternate-Repo-Setup-DebUbu.sh
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user