1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00

Fix package linter

This commit is contained in:
Josué Tille 2020-12-08 22:01:45 +01:00
parent 01855f51f8
commit 403b34f4b9
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 5 additions and 5 deletions

View file

@ -19,16 +19,16 @@ ynh_abort_if_errors
#=================================================
# Retrieve arguments
ynh_script_progression --message="Loading installation settings..."
ynh_print_info --message="Loading installation settings..."
domain=$(ynh_app_setting_get --app $app --key domain)
ynh_script_progression --message="Backing configuration..."
ynh_print_info --message="Backing configuration..."
# Copy Nginx config
ynh_backup --src_path "/etc/nginx/conf.d/${domain}.d/${app}.conf"
# Backup element files
ynh_script_progression --message="Backing up the main app directory..."
ynh_print_info --message="Backing up the main app directory..."
ynh_backup --src_path "/var/www/$app"
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Validating installation parameters..."
# Retrieve arguments
domain=$YNH_APP_ARG_DOMAIN
path_url=$(ynh_normalize_url_path --path_url $YNH_APP_ARG_PATH)
path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
default_home_server=$YNH_APP_ARG_DEFAULT_HOME_SERVER