mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
(apps): update btc-rpc-explorer to version 3.4.0 (#4368)
This commit is contained in:
parent
3f3b7e429e
commit
ca88646ad2
1 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
||||||
# ~/.config/btc-rpc-explorer.env
|
# ~/.config/btc-rpc-explorer.env
|
||||||
# https://github.com/janoside/btc-rpc-explorer/blob/master/.env-sample
|
# https://github.com/janoside/btc-rpc-explorer/blob/master/.env-sample
|
||||||
|
|
||||||
VERSION="v3.3.0"
|
VERSION="v3.4.0"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
|
@ -215,10 +215,10 @@ if [ "$1" = "install" ]; then
|
||||||
cd btc-rpc-explorer
|
cd btc-rpc-explorer
|
||||||
sudo -u btcrpcexplorer git reset --hard ${VERSION}
|
sudo -u btcrpcexplorer git reset --hard ${VERSION}
|
||||||
sudo -u btcrpcexplorer /home/admin/config.scripts/blitz.git-verify.sh "${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
sudo -u btcrpcexplorer /home/admin/config.scripts/blitz.git-verify.sh "${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1
|
||||||
sudo -u btcrpcexplorer npm install
|
sudo -u btcrpcexplorer npm ci
|
||||||
if ! [ $? -eq 0 ]; then
|
if ! [ $? -eq 0 ]; then
|
||||||
echo "FAIL - npm install did not run correctly, aborting"
|
echo "FAIL - npm ci did not run correctly, aborting"
|
||||||
echo "result='fail npm install'"
|
echo "result='fail npm ci'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -377,7 +377,7 @@ EOF
|
||||||
|
|
||||||
echo "# needs to finish creating txindex to be functional"
|
echo "# needs to finish creating txindex to be functional"
|
||||||
echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log"
|
echo "# monitor with: sudo tail -n 20 -f /mnt/hdd/bitcoin/debug.log"
|
||||||
echo "# npm audi fix"
|
echo "# npm audit fix"
|
||||||
cd /home/btcrpcexplorer/btc-rpc-explorer/
|
cd /home/btcrpcexplorer/btc-rpc-explorer/
|
||||||
sudo npm audit fix
|
sudo npm audit fix
|
||||||
|
|
||||||
|
@ -396,7 +396,7 @@ EOF
|
||||||
sleep 10
|
sleep 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# needed for API/WebUI as signal that install ran thru
|
# needed for API/WebUI to signal successfull install
|
||||||
echo "result='OK'"
|
echo "result='OK'"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -443,7 +443,7 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||||
sudo ufw deny 3020
|
sudo ufw deny 3020
|
||||||
sudo ufw deny 3021
|
sudo ufw deny 3021
|
||||||
|
|
||||||
# needed for API/WebUI as signal that install ran thru
|
# needed for API/WebUI to signal successfull install
|
||||||
echo "result='OK'"
|
echo "result='OK'"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue