mirror of
https://github.com/YunoHost-Apps/tvheadend_ynh.git
synced 2024-10-01 13:34:50 +02:00
Fix upgrade script concerning no subpath
This commit is contained in:
parent
208751bcb9
commit
984fa119b7
1 changed files with 6 additions and 1 deletions
|
@ -108,7 +108,12 @@ then
|
|||
ynh_script_progression --message="Restore/update configuration files..." --weight=1
|
||||
|
||||
# Copy and modify /etc/default/tvheadend
|
||||
ynh_add_config --template="tvheadend" --destination="/etc/default/tvheadend"
|
||||
if [ "$path_url" = "/" ]
|
||||
then
|
||||
ynh_add_config --template="tvheadend_no_subpath" --destination="/etc/default/tvheadend"
|
||||
else
|
||||
ynh_add_config --template="tvheadend" --destination="/etc/default/tvheadend"
|
||||
fi
|
||||
|
||||
# Copy and modify /home/hts/.hts/tvheadend/superuser
|
||||
ynh_add_config --template="superuser" --destination="${conf_dir}/superuser"
|
||||
|
|
Loading…
Add table
Reference in a new issue