From 9e51c9c5f5d9ff94eaaf1946f528085a4af3254f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 2 Dec 2020 09:48:44 +0100 Subject: [PATCH] Small typos --- check_process | 2 -- scripts/backup | 1 - scripts/install | 4 ++-- scripts/upgrade | 8 ++++---- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/check_process b/check_process index b57d1c3..ae3a979 100644 --- a/check_process +++ b/check_process @@ -25,8 +25,6 @@ incorrect_path=1 port_already_use=1 change_url=0 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none diff --git a/scripts/backup b/scripts/backup index 45a26b8..947603f 100644 --- a/scripts/backup +++ b/scripts/backup @@ -49,7 +49,6 @@ ynh_backup --src_path="$final_path" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" - #================================================= # BACKUP THE PHP-FPM CONFIGURATION #================================================= diff --git a/scripts/install b/scripts/install index 7b853e7..99ecf5c 100644 --- a/scripts/install +++ b/scripts/install @@ -169,8 +169,8 @@ mkdir -p $cache_dir chown -R $app $cache_dir cd "$final_path" -ynh_exec_as $app php"${phpversion}" composer.phar $app:migrate -php"${phpversion}" daemon.php config --username=$admin --password=$password +ynh_exec_as $app php$phpversion composer.phar $app:migrate +ynh_exec_as $app php$phpversion daemon.php config --username=$admin --password=$password #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 42f89ac..8225b90 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -148,9 +148,9 @@ yunohost service add $app --description "Responsive web-based XMPP client" --log ( cd "$final_path" - curl -sS https://getcomposer.org/installer | php${phpversion} -- --version="1.10.16" --install-dir="$final_path" \ - && php${phpversion} composer.phar config --global discard-changes true --quiet \ - && php${phpversion} composer.phar install --no-interaction --quiet + curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \ + && php$phpversion composer.phar config --global discard-changes true --quiet \ + && php$phpversion composer.phar install --no-interaction --quiet ) #================================================= @@ -159,7 +159,7 @@ yunohost service add $app --description "Responsive web-based XMPP client" --log ynh_script_progression --message="Configuring database.." --weight=1 ( cd "$final_path" - ynh_exec_as $app php${phpversion} composer.phar movim:migrate + ynh_exec_as $app php$phpversion composer.phar movim:migrate ) #=================================================