mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Merge pull request #113 from YunoHost-Apps/fix_install
Fix `$data_dir` permission
This commit is contained in:
commit
ae12225470
5 changed files with 5 additions and 5 deletions
|
@ -32,7 +32,7 @@ Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP
|
|||
- Multi-tenant: host as many podcasts as you want
|
||||
- Multi-user: add contributors and set roles
|
||||
|
||||
**Shipped version:** 1.6.5~ynh1
|
||||
**Shipped version:** 1.6.5~ynh2
|
||||
|
||||
**Demo:** https://podcast.podlibre.org/@podlibre_fr
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ Castopod est une plate-forme d'hébergement gratuite et open source conçue pour
|
|||
- Multi-locataire : hébergez autant de podcasts que vous le souhaitez
|
||||
- Multi-utilisateur : ajouter des contributeurs et définir des rôles
|
||||
|
||||
**Version incluse :** 1.6.5~ynh1
|
||||
**Version incluse :** 1.6.5~ynh2
|
||||
|
||||
**Démo :** https://podcast.podlibre.org/@podlibre_fr
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "Castopod"
|
|||
description.en = "Hosting platform made for podcasters"
|
||||
description.fr = "Plateforme d'hébergement conçue pour les podcasteurs"
|
||||
|
||||
version = "1.6.5~ynh1"
|
||||
version = "1.6.5~ynh2"
|
||||
|
||||
maintainers = ["eric_G"]
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ chown $app:www-data "$install_dir/.env"
|
|||
mkdir -p $data_dir/media
|
||||
cp -rf $install_dir/public/media/* $data_dir/media
|
||||
chmod -R 750 $data_dir
|
||||
chgrp -R www-data $data_dir
|
||||
chown -R $app:www-data $data_dir
|
||||
|
||||
ynh_secure_remove --file="$install_dir/public/media"
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ if ynh_compare_current_package_version --comparison le --version "1.1.2~ynh2"; t
|
|||
mkdir -p $data_dir/media
|
||||
cp -rf $install_dir/public/media/* $data_dir/media
|
||||
chmod -R 750 $data_dir
|
||||
chgrp -R www-data $data_dir
|
||||
chown -R $app:www-data $data_dir
|
||||
|
||||
ynh_secure_remove --file="$install_dir/public/media"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue