mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
cln-backup: use the version before poetry
This commit is contained in:
@@ -15,6 +15,10 @@ function help(){
|
||||
exit 1
|
||||
}
|
||||
|
||||
# https://github.com/lightningd/plugins/commits/master/backup
|
||||
# use the version beore the migration to poetry
|
||||
pinnedVersion="3da5778dcf408ff075515b4956aef405aa18f81a"
|
||||
|
||||
# command info
|
||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
|
||||
help
|
||||
@@ -30,6 +34,8 @@ function install() {
|
||||
cd /home/bitcoin/cl-plugins-available || exit 1
|
||||
sudo -u bitcoin git clone https://github.com/lightningd/plugins.git
|
||||
fi
|
||||
cd ${plugindir} || exit 1
|
||||
sudo -u bitcoin git reset --hard ${pinnedVersion}
|
||||
|
||||
if [ $($lightningcli_alias plugin list 2>/dev/null | grep -c "${plugin}") -eq 0 ];then
|
||||
echo "# Checking dependencies"
|
||||
|
Reference in New Issue
Block a user