From e37601c079e61051870c38aa6b15f1e5fe1e89f8 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 4 Jul 2022 16:46:26 +0530 Subject: [PATCH] fix extra dep --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 1dfd24d..ecc5fef 100755 --- a/scripts/install +++ b/scripts/install @@ -71,19 +71,20 @@ DEB_VERSION=$(sed 's/\..*//' /etc/debian_version) case DEB_VERSION in 10) - repo="deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/10/prod buster main" + ynh_install_extra_app_dependencies --repo="deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/10/prod buster main" --package="aspnetcore-runtime-6.0" ;; 11) - repo="deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/11/prod bullseye main" + ynh_install_extra_app_dependencies --repo="deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/debian/11/prod bullseye main" --package="aspnetcore-runtime-6.0" ;; *) repo="" + echo -n "ummmmmm" + ynh_install_extra_app_dependencies --repo=$repo --package="aspnetcore-runtime-6.0" ;; esac -ynh_install_extra_app_dependencies --repo=$repo --package="aspnetcore-runtime-6.0" #================================================= # CREATE DEDICATED USER