From cff604f4de45b6381c139f1b2e37dda42314c615 Mon Sep 17 00:00:00 2001 From: Scorpoon <22363852+Scorpoon@users.noreply.github.com> Date: Sun, 5 May 2024 14:48:07 +0200 Subject: [PATCH] Changes from code review --- install/fenrus-install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install/fenrus-install.sh b/install/fenrus-install.sh index 861baab3..2ef110e6 100644 --- a/install/fenrus-install.sh +++ b/install/fenrus-install.sh @@ -37,13 +37,10 @@ $STD apt-get install -y dotnet-sdk-7.0 msg_ok "Installed ASP.NET Core 7 SDK" msg_info "Installing ${APPLICATION}" -git clone -q https://github.com/revenz/Fenrus.git -cd Fenrus || exit +git clone -q https://github.com/revenz/Fenrus.git /opt/${APPLICATION} +cd /opt/${APPLICATION} export DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet publish -c Release -o "/opt/${APPLICATION}/" Fenrus.csproj -gitVersionNumber=$(git rev-parse HEAD) -echo "$gitVersionNumber" >"/opt/${APPLICATION}_version.txt" -cp -r Apps/ "/opt/${APPLICATION}/" msg_ok "Installed ${APPLICATION}" msg_info "Creating Service"