diff --git a/scripts/backup b/scripts/backup index 8640103..3aa23aa 100644 --- a/scripts/backup +++ b/scripts/backup @@ -29,7 +29,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) #================================================= # DECLARE DATA AND CONF FILES TO BACKUP #================================================= - ynh_print_info --message="Declaring files to be backed up..." #================================================= diff --git a/scripts/install b/scripts/install index 4e0b664..dfabc7a 100644 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ chown -R $app: $config_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "Client Web IRC" --log_type "systemd" +yunohost service add $app --description="Client Web IRC" --log_type="systemd" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 9fd5125..dc74ad5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -100,14 +100,14 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st ynh_script_progression --message="Restoring the systemd configuration..." ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "Client Web IRC" --log_type "systemd" +yunohost service add $app --description="Client Web IRC" --log_type="systemd" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 01bcc8d..0ef5e2e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,13 +71,6 @@ ynh_clean_setup () { # Exit if an error occurs during the execution of the script ynh_abort_if_errors -#================================================= -# CHECK THE PATH -#================================================= - -# Normalize the URL path syntax -path_url=$(ynh_normalize_url_path --path_url=$path_url) - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -186,7 +179,7 @@ chown -R $app: $config_path #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --description "Client Web IRC" --log_type "systemd" +yunohost service add $app --description="Client Web IRC" --log_type="systemd" #================================================= # START SYSTEMD SERVICE