1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lidarr_ynh.git synced 2024-09-03 19:35:58 +02:00

change_url : fix unecessary(?) ynh_exec_warn_less + probably unbound var error

This commit is contained in:
Alexandre Aubin 2021-12-02 03:05:56 +01:00 committed by GitHub
parent 519f531a49
commit 55f5402bce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,7 @@ then
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
# Store file checksum for the new config file location
ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf"
domain="$new_domain"
fi
#=================================================
@ -108,7 +109,7 @@ fi
# UPDATE CONFIGURATION FILE
#=================================================
ynh_exec_warn_less 'ynh_add_config --template="../conf/config.xml" --destination="$final_path/.data/config.xml"'
ynh_add_config --template="../conf/config.xml" --destination="$final_path/.data/config.xml"
chmod 750 "$final_path/.data/config.xml"
chmod o-rwx "$final_path/.data/config.xml"