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:
parent
d64fcb9884
commit
4e788edaa8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue