1
0
Fork 0
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:
ericgaspar 2020-11-06 22:05:34 +01:00
parent df854ee55c
commit 0ca854ba7c
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -134,7 +134,8 @@ ynh_store_file_checksum "$final_path/.env"
# CREATE DIRECTORIES # CREATE DIRECTORIES
#================================================= #=================================================
mkdir -p /home/yunohost.${app}/{uploads,data} mkdir -p /home/yunohost.${app}/uploads
mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import}
#================================================= #=================================================
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
@ -143,7 +144,7 @@ mkdir -p /home/yunohost.${app}/{uploads,data}
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path
chown -R $app: /home/yunohost.${app} chown -R $app: /home/yunohost.${app}
chmod -R 755 /home/yunohost.${app}/{uploads,data} chmod -R 755 /home/yunohost.${app}/uploads
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT