From 656be6dd7a9eefd3e3e15c5062c969a034a98ea4 Mon Sep 17 00:00:00 2001 From: openoms Date: Tue, 17 Aug 2021 16:32:59 +0100 Subject: [PATCH] cln build: run unzip with admin --- build_sdcard.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index d31316fcf..ed7d2fd98 100755 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -1060,6 +1060,7 @@ echo "- OK install of LND done" echo "*** C-lightning ***" # https://github.com/ElementsProject/lightning/releases CLVERSION=0.10.1 + # https://github.com/ElementsProject/lightning/tree/master/contrib/keys PGPsigner="rustyrussel" PGPpkeys="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/rustyrussell.txt" @@ -1126,14 +1127,13 @@ sudo apt-get install -y \ libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \ gettext unzip -unzip clightning-v${CLVERSION}.zip +sudo -u admin unzip clightning-v${CLVERSION}.zip cd clightning-v${CLVERSION} || exit 1 echo "- Configuring EXPERIMENTAL_FEATURES enabled" sudo -u admin ./configure --enable-experimental-features -currentCLversion=$(git describe --tags 2>/dev/null) -echo "- Building from source C-lightning $currentCLversion" +echo "- Building C-lightning from source" sudo -u admin make echo "- Install to /usr/local/bin/"