Browse Source

Update hst-install-debian.sh

Raphael Schneeberger 5 years ago
parent
commit
9546f1fcea
1 changed files with 3 additions and 2 deletions
  1. 3 2
      install/hst-install-debian.sh

+ 3 - 2
install/hst-install-debian.sh

@@ -1324,8 +1324,9 @@ if [ "$mysql" = 'yes' ]; then
         mycnf="my-large.cnf"
     fi
     
-    #remove symbolic link
-    rm /etc/mysql/my.cnf
+    # Remove symbolic link
+    rm -f /etc/mysql/my.cnf
+    
     # Configuring MariaDB
     cp -f $HESTIA_INSTALL_DIR/mysql/$mycnf /etc/mysql/my.cnf
     mysql_install_db >> $LOG