#1090 set old version for testing

This commit is contained in:
rootzoll 2020-03-22 23:34:26 -07:00
parent d6eaf4dd0b
commit 55af6a7fd2
2 changed files with 7 additions and 7 deletions

View File

@ -505,7 +505,7 @@ if [ "${BTCPayServer}" != "${choice}" ]; then
echo "BTCPayServer setting changed .."
# check if TOR is installed
source /mnt/hdd/raspiblitz.conf
if [ "${choice}" = "on" ] && [ "${runBehindTor}" != "on" ]; then
if [ "${choice}" = "on" ] && [ "${runBehindTor}" = "off" ]; then
whiptail --title " BTCPayServer needs TOR " --msgbox "\
At the moment the BTCPayServer on the RaspiBlitz needs TOR.\n
Please activate TOR in SERVICES first and & let it reboot.\n
@ -518,10 +518,10 @@ Then try activating BTCPayServer again in SERVICES.\n
if [ "${choice}" = "on" ]; then
if [ ${errorOnInstall} -eq 0 ]; then
source /home/btcpay/.btcpayserver/Main/settings.config
whiptail --title " BTCPayServer needs TOR " --msgbox "\
At the moment the BTCPayServer on the RaspiBlitz needs TOR.\n
Please activate TOR in SERVICES first and then try again.\n
" 11 38
whiptail --title " Installed BTCPay Server " --msgbox "\
BTCPay server was installed.\n
Use the new 'BTCPay' entry in Main Menu for more info.\n
" 10 35
else
l1="BTCPayServer installation is cancelled"
l2="Try again from the menu or install from the terminal with:"

View File

@ -235,8 +235,8 @@ EOF
echo "Downloading BTCPayServer source code.."
sudo -u btcpay git clone https://github.com/btcpayserver/btcpayserver.git 2>/dev/null
cd btcpayserver
# check https://github.com/btcpayserver/btcpayserver/releases
sudo -u btcpay git reset --hard v1.0.3.164
# check https://github.com/btcpayserver/btcpayserver/releases #v1.0.3.164
sudo -u btcpay git reset --hard v1.0.3.156
# from the build.sh with path
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj