diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index a0056eab..198f0fe5 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -364,7 +364,7 @@ fi BTC_UPGRADE_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/bitcoin-$BTC_VERSION-$ARCH.tar.gz BTC_UPGRADE_SHA256SUM_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/SHA256SUMS BTC_UPGRADE_SHA256SUM_ASC_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/SHA256SUMS.asc -BTC_CLI_COMPLETION_URL=https://raw.githubusercontent.com/bitcoin/bitcoin/v$BTC_VERSION/contrib/completions/bash/bitcoin-cli.bash-completion +BTC_CLI_COMPLETION_URL=https://raw.githubusercontent.com/bitcoin/bitcoin/v$BTC_VERSION/contrib/completions/bash/bitcoin-cli.bash CURRENT="" if [ -f $BTC_VERSION_FILE ]; then CURRENT=$(cat $BTC_VERSION_FILE) @@ -391,9 +391,9 @@ if [ "$CURRENT" != "$BTC_VERSION" ]; then # Mark current version echo $BTC_VERSION > $BTC_VERSION_FILE - # Install bash-completion for bitcoin-cli - wget $BTC_CLI_COMPLETION_URL -O bitcoin-cli.bash-completion - sudo cp bitcoin-cli.bash-completion /etc/bash_completion.d/bitcoin-cli + # Install bash completion for bitcoin-cli + wget $BTC_CLI_COMPLETION_URL -O bitcoin-cli.bash + sudo cp bitcoin-cli.bash /etc/bash_completion.d/bitcoin-cli else echo "ERROR UPGRADING BITCOIN - GPG FAILED" fi diff --git a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh index 7546f391..5c8a11ab 100644 --- a/rootfs/standard/usr/share/mynode/mynode_app_versions.sh +++ b/rootfs/standard/usr/share/mynode/mynode_app_versions.sh @@ -16,7 +16,7 @@ function get_app_version() echo "$version" } -BTC_VERSION="25.1" +BTC_VERSION="26.0" BTC_VERSION=$(get_app_version "$BTC_VERSION" "bitcoin") BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version BTC_LATEST_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version_latest diff --git a/setup/setup_device.sh b/setup/setup_device.sh index a32b0485..4eceb4bc 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -479,7 +479,7 @@ fi BTC_UPGRADE_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/bitcoin-$BTC_VERSION-$ARCH.tar.gz BTC_UPGRADE_SHA256SUM_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/SHA256SUMS BTC_UPGRADE_SHA256SUM_ASC_URL=https://bitcoincore.org/bin/bitcoin-core-$BTC_VERSION/SHA256SUMS.asc -BTC_CLI_COMPLETION_URL=https://raw.githubusercontent.com/bitcoin/bitcoin/v$BTC_VERSION/contrib/completions/bash/bitcoin-cli.bash-completion +BTC_CLI_COMPLETION_URL=https://raw.githubusercontent.com/bitcoin/bitcoin/v$BTC_VERSION/contrib/completions/bash/bitcoin-cli.bash CURRENT="" if [ -f $BTC_VERSION_FILE ]; then CURRENT=$(cat $BTC_VERSION_FILE) @@ -512,8 +512,8 @@ if [ "$CURRENT" != "$BTC_VERSION" ]; then echo $BTC_VERSION > $BTC_VERSION_FILE # Install bash-completion for bitcoin-cli - wget $BTC_CLI_COMPLETION_URL -O bitcoin-cli.bash-completion - sudo cp bitcoin-cli.bash-completion /etc/bash_completion.d/bitcoin-cli + wget $BTC_CLI_COMPLETION_URL -O bitcoin-cli.bash + sudo cp bitcoin-cli.bash /etc/bash_completion.d/bitcoin-cli fi cd ~