mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Update install
This commit is contained in:
parent
ca88784a45
commit
4fe2240e37
1 changed files with 4 additions and 1 deletions
|
@ -69,10 +69,13 @@ ynh_add_config --template=".env.example" --destination="$install_dir/.env"
|
|||
chmod 600 $install_dir/.env
|
||||
chown $app:www-data "$install_dir/.env"
|
||||
|
||||
mv $install_dir/public/media $data_dir
|
||||
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
|
||||
|
||||
ynh_secure_remove --file="$install_dir/public/media"
|
||||
|
||||
#=================================================
|
||||
# RUN MIGRATIONS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue