mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-02 17:08:28 +02:00
cl.install: git reset when version is given
This commit is contained in:
parent
6b34ce9e3a
commit
ce6af54dc7
@ -104,6 +104,7 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
|
||||
if [ $# -gt 1 ];then
|
||||
CLVERSION=$2
|
||||
echo "# Installing the version $CLVERSION"
|
||||
sudo -u bitcoin git reset --hard $CLVERSION
|
||||
else
|
||||
echo "# Updating to the latest commit in:"
|
||||
echo "# https://github.com/ElementsProject/lightning"
|
||||
|
Loading…
x
Reference in New Issue
Block a user