Merge pull request #4913 from steepdawn974/fix/add-qrencode-dependency-check

fix: add qrencode dependency check to cl-plugin.clnrest.sh
This commit is contained in:
/rootzoll 2025-01-04 14:08:07 +01:00 committed by GitHub
commit b20e9f0bab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,12 @@ fi
# check and load raspiblitz config to know which network is running
source /mnt/hdd/raspiblitz.conf
# check and install qrencode if not present
if [ $(dpkg-query -l | grep "ii qrencode" | wc -l) = 0 ]; then
echo "# Installing qrencode..."
sudo apt-get install -y qrencode >/dev/null 2>&1
fi
echo "# Running: 'cl-plugin.clnrest.sh $*'"
source <(/home/admin/config.scripts/network.aliases.sh getvars cl $2)