1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Fix not_mandatory restore

This commit is contained in:
tituspijean 2021-06-08 00:59:12 +02:00
parent 5f4b432aef
commit ddb3ddde0c

View file

@ -97,7 +97,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$final_path"
ynh_restore_file --origin_path="$config_path"
ynh_restore_file --origin_path="/etc/default/jellyfin" --not_mandatory
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory
#=================================================
# RECREATE THE DEDICATED USER
@ -132,7 +131,7 @@ ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y -o Dpkg::Opti
#=================================================
ynh_script_progression --message="Restoring the systemd configuration..." --time --weight=1
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d"
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory
ynh_restore_file --origin_path="/lib/systemd/system/jellyfin.service"
systemctl enable jellyfin.service --quiet