mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Fix ynh_restore_file argument
This commit is contained in:
parent
789cc61498
commit
b15db12c84
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ ynh_systemd_action --service_name=transmission-daemon --action=stop
|
||||||
ynh_secure_remove --file=/etc/transmission-daemon/settings.json
|
ynh_secure_remove --file=/etc/transmission-daemon/settings.json
|
||||||
ynh_restore_file --origin_path=/etc/transmission-daemon/settings.json
|
ynh_restore_file --origin_path=/etc/transmission-daemon/settings.json
|
||||||
|
|
||||||
ynh_restore_file --src_path="/etc/sysctl.d/90-transmission.conf"
|
ynh_restore_file --origin_path="/etc/sysctl.d/90-transmission.conf"
|
||||||
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
|
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
|
||||||
sysctl --load=/etc/sysctl.d/90-transmission.conf
|
sysctl --load=/etc/sysctl.d/90-transmission.conf
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue