From e403a39910bba0cbc6023a78cae5453e466b2c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:23:56 +0200 Subject: [PATCH] fix --- manifest.toml | 2 +- scripts/upgrade | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 1288a8a..459a31c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Abantecart" description.en = "Open source ecommerce platform to power online retail" description.fr = "Plateforme de commerce électronique pour la vente au détail en ligne" -version = "1.3.4~ynh2" +version = "1.3.4~ynh3" maintainers = [] diff --git a/scripts/upgrade b/scripts/upgrade index 7f810b7..4aaf2ed 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,7 @@ chown -R $app:www-data "$install_dir" find $install_dir/www -type d -exec chmod 755 {} \; find $install_dir/www -type f -exec chmod 644 {} \; +ynh_secure_remove --file="$install_dir/www/public_html" ln -s $install_dir/git_src/public_html $install_dir/www #=================================================