Skip to content

Commit

Permalink
Removed Support for Debian 9
Browse files Browse the repository at this point in the history
  • Loading branch information
xosupernova committed Dec 8, 2020
1 parent 588a6ab commit 2fd5cc4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ os_check(){
exit 2
fi
elif [ "$lsb_dist" = "debian" ]; then
if [ "$dist_version" != "10" ] &&[ "$dist_version" != "9" ]; then
output "Unsupported Debian version. Only Debian 10 and 9 are supported."
if [ "$dist_version" != "10" ]; then
output "Unsupported Debian version. Only Debian 10 is supported."
exit 2
fi
elif [ "$lsb_dist" = "fedora" ]; then
Expand All @@ -152,7 +152,7 @@ os_check(){
output ""
output "Supported OS:"
output "Ubuntu: 20.04, 18.04"
output "Debian: 10, 9"
output "Debian: 10"
output "Fedora: 33, 32"
output "CentOS: 8, 7"
output "RHEL: 8"
Expand Down Expand Up @@ -409,11 +409,6 @@ repositories_setup(){
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
apt -y install tuned
tuned-adm profile latency-performance
elif [ "$dist_version" = "9" ]; then
apt -y install dirmngr
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
fi
fi
apt-get -y update
apt-get -y upgrade
Expand Down Expand Up @@ -512,11 +507,6 @@ repositories_setup_0.7.19(){
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
apt -y install tuned
tuned-adm profile latency-performance
elif [ "$dist_version" = "9" ]; then
apt -y install dirmngr
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
fi
fi
apt-get -y update
apt-get -y upgrade
Expand Down

0 comments on commit 2fd5cc4

Please sign in to comment.