Prep fix for next JoinInBox release to use python3.7 on arm32
This commit is contained in:
parent
5c18d1fc79
commit
f145b5e1b3
|
@ -636,8 +636,14 @@ if should_install_app "joininbox" ; then
|
||||||
chmod -R +x ./joininbox/
|
chmod -R +x ./joininbox/
|
||||||
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
|
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
|
||||||
|
|
||||||
|
# Use Python3.7 on RP4 32-bit
|
||||||
|
JM_ENV_VARS=""
|
||||||
|
if [ $IS_64_BIT = 0 ]; then
|
||||||
|
JM_ENV_VARS="export JM_PYTHON=python3.7; "
|
||||||
|
fi
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
sudo -u joinmarket bash -c "cd /home/joinmarket/; ./install.joinmarket.sh install" || true
|
sudo -u joinmarket bash -c "cd /home/joinmarket/; ${JM_ENV_VARS} ./install.joinmarket.sh install" || true
|
||||||
|
|
||||||
echo $JOININBOX_VERSION > $JOININBOX_VERSION_FILE
|
echo $JOININBOX_VERSION > $JOININBOX_VERSION_FILE
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -627,6 +627,15 @@ if [ $IS_RASPI = 1 ] || [ $IS_X86 = 1 ]; then
|
||||||
chmod -R +x ./joininbox/
|
chmod -R +x ./joininbox/
|
||||||
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
|
sudo -u joinmarket cp -rf ./joininbox/scripts/* .
|
||||||
|
|
||||||
|
# Use Python3.7 on RP4 32-bit
|
||||||
|
JM_ENV_VARS=""
|
||||||
|
if [ $IS_64_BIT = 0 ]; then
|
||||||
|
JM_ENV_VARS="export JM_PYTHON=python3.7; "
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install
|
||||||
|
sudo -u joinmarket bash -c "cd /home/joinmarket/; ${JM_ENV_VARS} ./install.joinmarket.sh install" || true
|
||||||
|
|
||||||
echo $JOININBOX_VERSION > $JOININBOX_VERSION_FILE
|
echo $JOININBOX_VERSION > $JOININBOX_VERSION_FILE
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user