Last round of clean up and fixes I hope

This commit is contained in:
Enki 2024-01-09 17:49:26 -08:00
parent 13daaf1c76
commit 220125a2d9

View File

@ -198,7 +198,7 @@ install_bitcoin_core_dependencies() {
sleep 3
if ! is_package_installed "git"; then
echo "Installing git..."
if ! apt-get install -y -q git; then
if ! apt-get install -y -qq git; then
echo "Failed to install git." >&2
exit 1
fi
@ -208,7 +208,7 @@ install_bitcoin_core_dependencies() {
if ! is_package_installed "curl"; then
echo "Installing curl..."
if ! apt-get install -y -q curl; then
if ! apt-get install -y -qq curl; then
echo "Failed to install curl." >&2
exit 1
fi
@ -222,7 +222,7 @@ install_bitcoin_core_dependencies() {
for dep in "${bitcoin_core_dependencies[@]}"; do
if ! is_package_installed "$dep"; then
echo "Installing $dep..."
if ! apt-get install -y -q "$dep"; then
if ! apt-get install -y -qq "$dep"; then
echo "Failed to install $dep." >&2
exit 1
fi
@ -739,7 +739,7 @@ start_and_enable_bitcoin_core
check_services # Final systems check and exit
# Inform the user that the script has completed successfully
"Thanks for running a Bitcoin full node, you're helping to decentralize the network even further!"
echo "Thanks for running a Bitcoin full node, you're helping to decentralize the network even further!"
echo "You can check your node's sync status with 'bitcoin-cli -getinfo'"
echo "You can check the status of your peer connections with 'bitcoin-cli -netinfo'"
echo "This will show the amount of peers you are connected to for each network."