mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Update install
This commit is contained in:
parent
b58da1a748
commit
2c4f09eb9b
1 changed files with 7 additions and 8 deletions
|
@ -66,9 +66,13 @@ ynh_script_progression --message="Creating a data directory..." --weight=1
|
|||
mkdir -p $data_dir/uploads
|
||||
mkdir -p $data_dir/uploads/{big,import,medium,raw,small,thumb}
|
||||
|
||||
chmod 770 "$data_dir/uploads/"
|
||||
chmod -R o-rwx "$data_dir/uploads/"
|
||||
chown -R $app:$app "$data_dir/uploads/"
|
||||
#chmod 770 "$data_dir/uploads/"
|
||||
#chmod -R o-rwx "$data_dir/uploads/"
|
||||
#chown -R $app:$app "$data_dir/uploads/"
|
||||
|
||||
chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads
|
||||
chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/
|
||||
chmod 2775 $install_dir/.
|
||||
|
||||
#=================================================
|
||||
# INSTALL APP WITH COMPOSER
|
||||
|
@ -102,11 +106,6 @@ popd
|
|||
# Setup custom user.css file
|
||||
ynh_add_config --template="../conf/user.css.example" --destination="$install_dir/public/dist/user.css"
|
||||
|
||||
|
||||
chgrp $app -R $install_dir/storage $install_dir/public/dist $install_dir/public/sym $data_dir/uploads
|
||||
chmod -R 2775 $install_dir/storage/* $install_dir/app/* $install_dir/public/dist $install_dir/public/sym $data_dir/uploads $install_dir/bootstrap/
|
||||
chmod 2775 $install_dir/.
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue