From d2a3fa7f6b09b703fba3a05f04386cc94525eebe Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Mon, 21 Feb 2022 17:07:59 +0100 Subject: [PATCH] linter --- scripts/restore | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/restore b/scripts/restore index 1256e4e..ae81399 100644 --- a/scripts/restore +++ b/scripts/restore @@ -41,8 +41,6 @@ db_user=$db_name #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=/ \ - || ynh_die --message="Domain not available: ${domain}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " can_remove_home=1 @@ -136,17 +134,11 @@ source ./create_services # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app.target\ +yunohost service add $app.target \ --log $final_path/diaspora/log/production.log \ $final_path/diaspora/log/unicorn-stderr.log\ $final_path/diaspora/log/unicorn-stdout.log\ $final_path/diaspora/log/sidekiq.log\ --description "Diaspora service (unicorn web and sidekiq)" -#================================================= -# SETUP SSOWAT -#================================================= -# unprotected_uris allows SSO credentials to be passed anyway. -ynh_app_setting_set $app unprotected_uris "/" - popd