mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
Fixed change_url script
This commit is contained in:
parent
3c938f69f7
commit
3f47a8dcf0
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ systemctl stop transmission-daemon
|
|||
if [ $change_path -eq 1 ]
|
||||
then
|
||||
[ "$new_path" = "/" ] || new_path=${new_path}/
|
||||
sed -i -e s@\"rpc-url\": \"${old_path}transmission@\"rcp-url\": \"${newpath}\"transmission@ /etc/transmission-daemon/settings.json
|
||||
ynh_replace_string "\"rpc-url\": \"${old_path}transmission/\"" "\"rpc-url\": \"${new_path}transmission/\"" /etc/transmission-daemon/settings.json
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue