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-19 18:36:03 +02:00
parent a7735612aa
commit 3c570d6b44
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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"