1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00

Clear assets cache (fixes #48)

This commit is contained in:
Jimmy Monin 2018-05-26 22:10:15 +02:00
parent e0edf9cd6c
commit cb9f63b986

View file

@ -109,6 +109,9 @@ if [ "$download_images_enabled" = "1" ] ; then
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_user" <<< "UPDATE entry SET content = REPLACE(content, '$old_domain$old_path', '$new_domain$new_path');"
fi
# Clear assets cache
ynh_secure_remove $final_path/var/cache
#=================================================
# GENERIC FINALIZATION
#=================================================