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
a7735612aa
commit
3c570d6b44
1 changed files with 1 additions and 3 deletions
|
@ -92,12 +92,10 @@ then
|
|||
|
||||
if [ "$version" -lt "4.3" ]; then
|
||||
mkdir -p $public_path/uploads
|
||||
# Move media to new path
|
||||
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
||||
fi
|
||||
|
||||
# Move media to new path
|
||||
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
||||
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove --file="$final_path"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue