Skip to content

Commit

Permalink
cl.install: fix mistune version to 0.8.4
Browse files Browse the repository at this point in the history
related: refi64/mrkd#6
  • Loading branch information
openoms committed Dec 8, 2021
1 parent 716a091 commit 2807623
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions home.admin/config.scripts/cl.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ if [ "$1" = "install" ]; then
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext unzip
sudo pip3 install mrkd
sudo pip3 install mrkd==0.2.0
sudo pip3 install mistune==0.8.4

sudo -u admin unzip clightning-${CLVERSION}.zip
cd clightning-${CLVERSION} || exit 1
Expand Down Expand Up @@ -125,6 +126,7 @@ if [ "$1" = "install" ]; then
sudo -u admin lightning-cli --version
exit 1
fi
echo
echo "- OK the installation of C-lightning v${installed} is successful"
exit 0
fi
Expand Down Expand Up @@ -181,9 +183,11 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
echo "# Installing dependencies"
echo
sudo apt-get install -y \
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
gettext
sudo pip3 install mrkd==0.2.0
sudo pip3 install mistune==0.8.4

####################################
# Download and compile from source #
Expand Down Expand Up @@ -227,13 +231,6 @@ if [ "$1" = on ]||[ "$1" = update ]||[ "$1" = testPR ];then
sudo -u bitcoin git reset --hard $CLVERSION
fi

echo "Installing additional dependencies"
sudo apt-get install -y valgrind python3-pip libpq-dev
if ! sudo pip3 install -r requirements.txt; then
# just in case building the requirements fails
sudo pip3 install mrkd
fi

echo "# Building with EXPERIMENTAL_FEATURES enabled"
echo
sudo -u bitcoin ./configure --enable-experimental-features
Expand Down

0 comments on commit 2807623

Please sign in to comment.