mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
#1116 use directory name for install
This commit is contained in:
@@ -212,7 +212,7 @@ if [ "${mode}" = "secure" ] || [ "${mode}" = "reckless" ]; then
|
||||
# removing the tar.gz ending from the binary
|
||||
directoryName="${binaryName%.*.*}"
|
||||
echo "# install binary directory '${directoryName}'"
|
||||
sudo install -m 0755 -o root -g root -t /usr/local/bin lnd-linux-*/*
|
||||
sudo install -m 0755 -o root -g root -t /usr/local/bin ${directoryName}/*
|
||||
sleep 3
|
||||
installed=$(sudo -u admin lnd --version)
|
||||
if [ ${#installed} -eq 0 ]; then
|
||||
|
Reference in New Issue
Block a user