1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-04-04 17:19:44 +02:00
parent d64fcb9884
commit 4e788edaa8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -51,11 +51,13 @@ fi
# If public_path doesn't exist, create it
if [ -z "$public_path" ]; then
public_path=/home/yunohost.app/$app
mkdir -p $public_path
ynh_app_setting_set --app=$app --key=public_path --value=$public_path
fi
if [ ! -d "$public_path/uploads" ]; then
mkdir -p $public_path/uploads
mkdir -p $public_path/uploads/{big,import,medium,raw,small,thumb}
fi
# Cleaning legacy permissions