From 49ab35253c76951c771a454472683bd8672e14c4 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 4 Jul 2022 17:10:45 +0530 Subject: [PATCH] try2fix --- scripts/_common.sh | 2 +- scripts/install | 1 + scripts/remove | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index c86e3d8..dbe98af 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="dotnet-sdk-6.0" +pkg_dependencies="aspnetcore-runtime-6.0" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 0ab0557..a81a806 100755 --- a/scripts/install +++ b/scripts/install @@ -88,6 +88,7 @@ case $DEB_VERSION in ;; esac +ynh_exec_warn_less apt update ynh_install_app_dependencies $pkg_dependencies #================================================= diff --git a/scripts/remove b/scripts/remove index adf6d33..c379e9a 100755 --- a/scripts/remove +++ b/scripts/remove @@ -70,7 +70,7 @@ ynh_remove_nginx_config #================================================= ynh_script_progression --message="Removing dependencies..." --time --weight=1 -ynh_exec_warn_less apt removepackages-microsoft-prod +ynh_exec_warn_less apt remove packages-microsoft-prod -y # Remove metapackage and its dependencies ynh_remove_app_dependencies