diff --git a/scripts/install b/scripts/install index b80070e..d32dc12 100644 --- a/scripts/install +++ b/scripts/install @@ -212,7 +212,7 @@ ynh_replace_string --match_string="^\s*// installed plugins" --replace_string="& # Update javascript dependencies (cd "$final_path" -/usr/bin/php -q ./bin/install-jsdeps.sh) +/usr/bin/php$phpversion -q ./bin/install-jsdeps.sh) # Store the config file checksum into the app settings ynh_store_file_checksum --file="$final_path/config/config.inc.php" diff --git a/scripts/upgrade b/scripts/upgrade index 82898a4..cd16af4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -260,7 +260,7 @@ then # Update JavaScript dependencies (cd "$final_path" - /usr/bin/php -q ./bin/install-jsdeps.sh) + /usr/bin/php$phpversion -q ./bin/install-jsdeps.sh) # Store the config file checksum into the app settings ynh_store_file_checksum --file="$final_path/config/config.inc.php"