don't overwrite lncli when installing lit binaries

#3237
This commit is contained in:
openoms 2022-07-21 00:10:19 +01:00
parent fa5a175a5a
commit a6f1e27f4b
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -217,7 +217,13 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# install #
###########
tar -xzf ${binaryName}
sudo install -m 0755 -o root -g root -t /usr/local/bin lightning-terminal-linux-${OSversion}-v${LITVERSION}/*
cd lightning-terminal-linux-${OSversion}-v${LITVERSION} || exit 1
# do not overwrite lncli
sudo install -m 0755 -o root -g root -t /usr/local/bin frcli
sudo install -m 0755 -o root -g root -t /usr/local/bin litcli
sudo install -m 0755 -o root -g root -t /usr/local/bin litd
sudo install -m 0755 -o root -g root -t /usr/local/bin loop
sudo install -m 0755 -o root -g root -t /usr/local/bin pool
###########
# config #