1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Update scripts/upgrade

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Éric Gaspar 2021-11-21 20:17:19 +01:00 committed by GitHub
parent 926086b3e5
commit 0015318e10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ ynh_exec_warn_less yunohost firewall allow UDP $peer_port
if [ -z "$datadir" ]; then
datadir=/home/yunohost.app/$app
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
cp -a "/home/yunohost.transmission" "$datadir"
mv "/home/yunohost.transmission" "$datadir"
fi
#=================================================