diff --git a/scripts/install b/scripts/install index d19da14..2dda0b5 100644 --- a/scripts/install +++ b/scripts/install @@ -74,10 +74,13 @@ fi ynh_script_progression --message="Adding multimedia directories..." --weight=4 ynh_multimedia_build_main_dir + # Set rights on transmission directory (parent need to be readable by other, and progress need to be writable by multimedia. Because files will move) ynh_multimedia_addfolder --source_dir="$data_dir" --dest_dir="share/Torrents" + # And share completed directory ynh_multimedia_addfolder --source_dir="$data_dir/completed" --dest_dir="share/Torrents" + # Share also watched directory, to allow to use it easily ynh_multimedia_addfolder --source_dir="$data_dir/watched" --dest_dir="share/Torrent to download" diff --git a/scripts/remove b/scripts/remove index c30f550..1243716 100644 --- a/scripts/remove +++ b/scripts/remove @@ -39,8 +39,10 @@ ynh_script_progression --message="Removing various files..." # Web interface ynh_secure_remove --file=/usr/share/transmission + # And data ynh_secure_remove --file=/var/lib/transmission-daemon + # Kernel parameters if [ -e /proc/sys/net/core/rmem_max ] then