Cleaned up and merge other Linux snippit repo
Meged https://git.bprieshof.nl/brammp/linux into ./Linux
This commit is contained in:
5
Linux/Scripts/Mysql-alternate-Repo-Setup-DebUbu.sh
Normal file
5
Linux/Scripts/Mysql-alternate-Repo-Setup-DebUbu.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
Dist=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
|
||||
DistVersion=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"')
|
||||
|
||||
wget -qO - http://repo.mysql.com/RPM-GPG-KEY-mysql | apt-key add -
|
||||
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