Browse Source

Use --force

Ernesto Nicolás Carrea 5 years ago
parent
commit
16bf6f6347
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bin/module/php-fpm/install.inc

+ 2 - 1
bin/module/php-fpm/install.inc

@@ -27,7 +27,8 @@ hestia_module_php-fpm_install() {
         php_withoutdot=${php_version//.}
         php_version_present=$(osal_kv_read $HESTIA_CONF_MODULES/php.conf "php${php_withoutdot}_present" 0)
         if [ "php_version_present" ]; then
-            hestia module php-fpm add $php_version
+            # Use force, because FPM is technically still not installed
+            hestia module php-fpm add $php_version --force
         fi
     done