mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "cff604f4de45b6381c139f1b2e37dda42314c615" and "20b16b0328e96401b542c9ff8e2d8e5909450db9" have entirely different histories.
cff604f4de
...
20b16b0328
12
ct/fenrus.sh
12
ct/fenrus.sh
|
@ -10,12 +10,12 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build
|
||||||
function header_info {
|
function header_info {
|
||||||
clear
|
clear
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
______
|
_____
|
||||||
/ ____/__ ____ _______ _______
|
| ___|__ _ __ _ __ _ _ ___
|
||||||
/ /_ / _ \/ __ \/ ___/ / / / ___/
|
| |_ / _ \ '_ \| '__| | | / __|
|
||||||
/ __/ / __/ / / / / / /_/ (__ )
|
| _| __/ | | | | | |_| \__ \
|
||||||
/_/ \___/_/ /_/_/ \__,_/____/
|
|_| \___|_| |_|_| \__,_|___/
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
header_info
|
header_info
|
||||||
|
|
|
@ -18,10 +18,8 @@ network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y sudo
|
$STD apt install -y curl
|
||||||
$STD apt-get install -y mc
|
$STD apt install -y git
|
||||||
$STD apt-get install -y curl
|
|
||||||
$STD apt-get install -y git
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing ASP.NET Core 7 SDK"
|
msg_info "Installing ASP.NET Core 7 SDK"
|
||||||
|
@ -37,10 +35,15 @@ $STD apt-get install -y dotnet-sdk-7.0
|
||||||
msg_ok "Installed ASP.NET Core 7 SDK"
|
msg_ok "Installed ASP.NET Core 7 SDK"
|
||||||
|
|
||||||
msg_info "Installing ${APPLICATION}"
|
msg_info "Installing ${APPLICATION}"
|
||||||
git clone -q https://github.com/revenz/Fenrus.git /opt/${APPLICATION}
|
git clone https://github.com/revenz/Fenrus.git
|
||||||
cd /opt/${APPLICATION}
|
cd Fenrus || exit
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
dotnet publish -c Release -o "/opt/${APPLICATION}/" Fenrus.csproj
|
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}/"
|
||||||
|
cd ..
|
||||||
|
rm -r Fenrus/
|
||||||
msg_ok "Installed ${APPLICATION}"
|
msg_ok "Installed ${APPLICATION}"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
Loading…
Reference in New Issue