From 5ac3aae5650fdeabba66a3e25cd74020ff4c69ed Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Wed, 19 Dec 2018 21:40:05 +0200 Subject: [PATCH] Allow more specific --python targets for install.sh Now you can specify not only python2/python3, but also python3.4/python3.6/etc... --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 65a6252..b120f94 100755 --- a/install.sh +++ b/install.sh @@ -365,11 +365,11 @@ parse_flags () shift done - if [[ ${with_qt} == 1 ]] && [[ ${python} == python2 ]]; then + if [[ ${with_qt} == 1 ]] && [[ ${python} == python2* ]]; then echo "ERROR: Joinmarket-Qt is currently only available for Python 3 Use the flag '--python=python3' to enable a python3 install." return 1 - elif [[ ${with_qt} != 1 ]] && [[ ${python} == python3 ]]; then + elif [[ ${with_qt} != 1 ]] && [[ ${python} == python3* ]]; then read -p " INFO: Joinmarket-Qt for GUI Taker and Tumbler modes is available. Install Qt dependencies (~160mb) ? [y|n] : "