mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
add sudirs
This commit is contained in:
parent
93666b974b
commit
6febf2137f
3 changed files with 1 additions and 5 deletions
|
@ -17,7 +17,7 @@ code = "https://github.com/transmission/transmission"
|
||||||
cpe = "cpe:2.3:a:transmissionbt:transmission"
|
cpe = "cpe:2.3:a:transmissionbt:transmission"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.15"
|
yunohost = ">= 11.1.16"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
ldap = false
|
ldap = false
|
||||||
|
|
|
@ -17,8 +17,6 @@ ynh_script_progression --message="Restoring the data directory..."
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||||
|
|
||||||
mkdir -p $data_dir/{progress,completed,watched}
|
|
||||||
|
|
||||||
chmod -R 764 $data_dir
|
chmod -R 764 $data_dir
|
||||||
chmod -R 775 $data_dir/watched
|
chmod -R 775 $data_dir/watched
|
||||||
chown -R debian-transmission:www-data "$data_dir"
|
chown -R debian-transmission:www-data "$data_dir"
|
||||||
|
|
|
@ -39,8 +39,6 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Creating a data directory..."
|
ynh_script_progression --message="Creating a data directory..."
|
||||||
|
|
||||||
mkdir -p $data_dir/{progress,completed,watched}
|
|
||||||
|
|
||||||
chmod -R 764 $data_dir
|
chmod -R 764 $data_dir
|
||||||
chmod -R 775 $data_dir/watched
|
chmod -R 775 $data_dir/watched
|
||||||
chown -R debian-transmission:www-data "$data_dir"
|
chown -R debian-transmission:www-data "$data_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue