From dbc4f5e1d258c3ccacaa11d0aec665d5f8e71e88 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 8 Jun 2021 14:04:30 +0200 Subject: [PATCH] Fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"