mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
@@ -488,6 +488,14 @@ if [ "$1" = "install" ]; then
|
|||||||
cd /home/btcpay || exit 1
|
cd /home/btcpay || exit 1
|
||||||
echo "# Download the NBXplorer source code $NBXplorerVersion"
|
echo "# Download the NBXplorer source code $NBXplorerVersion"
|
||||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git
|
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git
|
||||||
|
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||||
|
echo "# FAIL! on first git clone - retrying with SSH."
|
||||||
|
sudo -u btcpay git clone git@github.com:dgarage/NBXplorer.git
|
||||||
|
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||||
|
echo "# FAIL! also on second git clone of NBXplorer - exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
cd NBXplorer
|
cd NBXplorer
|
||||||
sudo -u btcpay git reset --hard $NBXplorerVersion
|
sudo -u btcpay git reset --hard $NBXplorerVersion
|
||||||
# PGP verify
|
# PGP verify
|
||||||
|
Reference in New Issue
Block a user