mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-05 14:03:17 +02:00
#1340 allow lnbits to checkout master
This commit is contained in:
@@ -184,7 +184,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
cd /home/lnbits
|
cd /home/lnbits
|
||||||
sudo -u lnbits git clone https://github.com/lnbits/lnbits.git
|
sudo -u lnbits git clone https://github.com/lnbits/lnbits.git
|
||||||
cd /home/lnbits/lnbits
|
cd /home/lnbits/lnbits
|
||||||
|
if [ "$2" == "latest" ]; then
|
||||||
|
echo "# checking out master branch"
|
||||||
|
sudo -u lnbits git checkout
|
||||||
|
else
|
||||||
|
echo "# checking out tag 'raspiblitz'"
|
||||||
sudo -u lnbits git checkout tags/raspiblitz
|
sudo -u lnbits git checkout tags/raspiblitz
|
||||||
|
fi
|
||||||
|
|
||||||
# prepare .env file
|
# prepare .env file
|
||||||
echo "# preparing env file"
|
echo "# preparing env file"
|
||||||
|
Reference in New Issue
Block a user