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,11 +92,9 @@ then
|
||||||
|
|
||||||
if [ "$version" -lt "4.3" ]; then
|
if [ "$version" -lt "4.3" ]; then
|
||||||
mkdir -p $public_path/uploads
|
mkdir -p $public_path/uploads
|
||||||
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Move media to new path
|
# Move media to new path
|
||||||
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
cp -a "$final_path/public/uploads" "$public_path/uploads"
|
||||||
|
fi
|
||||||
|
|
||||||
# Remove the app directory securely
|
# Remove the app directory securely
|
||||||
ynh_secure_remove --file="$final_path"
|
ynh_secure_remove --file="$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue