1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jackett_ynh.git synced 2024-09-03 19:26:28 +02:00

Crrate config directory during install

This commit is contained in:
tituspijean 2021-10-26 22:18:52 +02:00
parent 9d63136d32
commit c13841b2e1
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -75,6 +75,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture" ynh_setup_source --dest_dir="$final_path" --source_id="app.$architecture"
mkdir -p "$final_path/.config/Jackett"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"