mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-06 18:12:14 +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
|
# removing the tar.gz ending from the binary
|
||||||
directoryName="${binaryName%.*.*}"
|
directoryName="${binaryName%.*.*}"
|
||||||
echo "# install binary directory '${directoryName}'"
|
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
|
sleep 3
|
||||||
installed=$(sudo -u admin lnd --version)
|
installed=$(sudo -u admin lnd --version)
|
||||||
if [ ${#installed} -eq 0 ]; then
|
if [ ${#installed} -eq 0 ]; then
|
||||||
|
Reference in New Issue
Block a user