1
0
Fork 0
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:
Mateusz 2023-10-30 10:21:41 +01:00 committed by GitHub
parent ca88784a45
commit 4fe2240e37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
#=================================================