From 338cbd719456fbe360d218bd7d4f99ac417312c1 Mon Sep 17 00:00:00 2001 From: cloud Date: Thu, 16 Sep 2021 14:50:02 +0200 Subject: [PATCH] Fix: check for previous installation --- rpm/python_module_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/python_module_install.sh b/rpm/python_module_install.sh index 5a2aef59a5..e537d4420b 100755 --- a/rpm/python_module_install.sh +++ b/rpm/python_module_install.sh @@ -4,7 +4,7 @@ module=${1} if test "${module}" = "MDSplus"; then srcdir=${mdsplus_dir}/python - if test -n "$(${mdsplus_dir}/rpm/python_module_remove.sh ${module} y)"; then + if test "$(${mdsplus_dir}/rpm/python_module_remove.sh ${module} y)" = "y"; then setup_install=y elif ( echo ${PYTHONPATH} | grep ${mdsplus_dir}/python >/dev/null ); then setup_install=n