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:
parent
519f531a49
commit
55f5402bce
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue