mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-24 21:06:56 +01:00
fix bitcoin update fail comment (#4921)
* fix bitcoin update fail comment * no ok message on failed custom update
This commit is contained in:
@@ -526,27 +526,30 @@ 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
|
||||||
whiptail \
|
exit 1
|
||||||
--title " Bitcoin Core update " \
|
else
|
||||||
--yes-button "Reboot" \
|
whiptail \
|
||||||
--no-button "Skip Reboot" \
|
--title " Bitcoin Core update " \
|
||||||
--yesno \
|
--yes-button "Reboot" \
|
||||||
|
--no-button "Skip Reboot" \
|
||||||
|
--yesno \
|
||||||
"OK Bitcoin Core update is done.
|
"OK Bitcoin Core update is done.
|
||||||
|
|
||||||
By default a reboot is advised.
|
By default a reboot is advised.
|
||||||
" 9 40
|
" 9 40
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
clear
|
clear
|
||||||
echo "# REBOOT .."
|
echo "# REBOOT .."
|
||||||
sudo /home/admin/config.scripts/blitz.shutdown.sh reboot
|
sudo /home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||||
sleep 8
|
sleep 8
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "# SKIP REBOOT"
|
echo "# SKIP REBOOT"
|
||||||
echo "# starting the bitcoind.service .."
|
echo "# starting the bitcoind.service .."
|
||||||
sudo systemctl start bitcoind
|
sudo systemctl start bitcoind
|
||||||
exit 0
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
sleep 8
|
sleep 8
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user