#1340 allow lnbits to checkout master

This commit is contained in:
rootzoll
2020-07-19 17:05:35 +02:00
parent fd4647a605
commit 67bca00b0a

View File

@@ -184,7 +184,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
cd /home/lnbits
sudo -u lnbits git clone https://github.com/lnbits/lnbits.git
cd /home/lnbits/lnbits
sudo -u lnbits git checkout tags/raspiblitz
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
fi
# prepare .env file
echo "# preparing env file"