fix bitcoin update fail comment (#4921)

* fix bitcoin update fail comment
* no ok message on failed custom update
This commit is contained in:
openoms
2025-05-14 02:34:42 +02:00
committed by GitHub
parent e297bc2e57
commit b81de65a87
2 changed files with 22 additions and 19 deletions

View File

@@ -526,7 +526,9 @@ By default a reboot is advised.
sleep 8 sleep 8
;; ;;
CUSTOM) CUSTOM)
sudo -u admin /home/admin/config.scripts/bitcoin.update.sh custom if ! sudo -u admin /home/admin/config.scripts/bitcoin.update.sh custom; then
exit 1
else
whiptail \ whiptail \
--title " Bitcoin Core update " \ --title " Bitcoin Core update " \
--yes-button "Reboot" \ --yes-button "Reboot" \
@@ -548,6 +550,7 @@ By default a reboot is advised.
sudo systemctl start bitcoind sudo systemctl start bitcoind
exit 0 exit 0
fi fi
fi
sleep 8 sleep 8
;; ;;
esac esac

View File

@@ -240,7 +240,7 @@ if [ "${mode}" = "tested" ] || [ "${mode}" = "reckless" ] || [ "${mode}" = "cust
echo "# BUILD FAILED --> the PGP verification failed" echo "# BUILD FAILED --> the PGP verification failed"
echo "# try again or with a different version" echo "# try again or with a different version"
echo "# if you want to skip verifying all signatures (and just show them) use the command:" echo "# if you want to skip verifying all signatures (and just show them) use the command:"
echo "# /home/admin/config.scripts/bonus.bitcoin.sh custom ${bitcoinVersion:-<version>} skipverify" echo "# /home/admin/config.scripts/bitcoin.update.sh custom ${bitcoinVersion:-<version>} skipverify"
exit 1 exit 1
fi fi
fi fi