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

View File

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