From 34146a40d12ebe9680c8c8b648293bb6246b9616 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 28 Oct 2024 18:49:07 +0100 Subject: [PATCH] fallback install --- home.admin/config.scripts/bonus.btcpayserver.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home.admin/config.scripts/bonus.btcpayserver.sh b/home.admin/config.scripts/bonus.btcpayserver.sh index af1b5e4d6..ab763e57f 100644 --- a/home.admin/config.scripts/bonus.btcpayserver.sh +++ b/home.admin/config.scripts/bonus.btcpayserver.sh @@ -499,11 +499,13 @@ if [ "$1" = "install" ]; then /home/admin/config.scripts/bonus.btcpayserver.sh uninstall exit 1 fi + cd NBXplorer else echo "# OK - git clone of NBXplorer successful." + cd NBXplorer + sudo -u btcpay git reset --hard $NBXplorerVersion fi - cd NBXplorer - sudo -u btcpay git reset --hard $NBXplorerVersion + # PGP verify NBXPGPsigner="nicolasdorier" NBXPGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc" @@ -529,7 +531,6 @@ if [ "$1" = "install" ]; then # from the build.sh with path sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release \ /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj || exit 1 - exit 0 fi