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 #=================================================