Stefan Pejcic пре 1 година
родитељ
комит
4899f384f2
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      INSTALL.sh

+ 6 - 1
INSTALL.sh

@@ -215,7 +215,9 @@ FUNCTIONS=(
 
 
     configure_nginx
     configure_nginx
     configure_modsecurity
     configure_modsecurity
-
+    
+    mysql_for_ubuntu
+    
     setup_ufw
     setup_ufw
     setup_opencli
     setup_opencli
     install_all_locales
     install_all_locales
@@ -630,6 +632,9 @@ configure_nginx() {
 
 
 
 
 mysql_for_ubuntu() {
 mysql_for_ubuntu() {
+
+    ubuntu_version=$(lsb_release -rs)
+
     # Check if the version is 22.04
     # Check if the version is 22.04
     if [[ "$ubuntu_version" == "22.04" ]]; then
     if [[ "$ubuntu_version" == "22.04" ]]; then
         #echo "This is Ubuntu 22.04"
         #echo "This is Ubuntu 22.04"