From 2e9546181c486aedb7eb2e7457953bd5507855cd Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Thu, 6 Jul 2023 22:35:58 +0200 Subject: [PATCH 1/2] Fix symlink for v7r2 compatibility --- create_diracosrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_diracosrc.sh b/create_diracosrc.sh index c8bacb2..94ee0ef 100644 --- a/create_diracosrc.sh +++ b/create_diracosrc.sh @@ -61,7 +61,7 @@ echo "DIRACOS2 $INSTALLER_VER" > "$PREFIX/.diracos_version" # Workaround for the incorrect etc directory in v7r2 -ln -s "$PREFIX/etc" "$PREFIX/lib/python3.9/site-packages/etc" +ln -s "$PREFIX/etc" "$PREFIX/lib/python3.11/site-packages/etc" # Print further install instructions echo "" From d2a61a8c94c91aabe287aabb70dae07ca34f723f Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Thu, 6 Jul 2023 23:41:05 +0200 Subject: [PATCH 2/2] Remove v7r2 compatibility workaround --- create_diracosrc.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/create_diracosrc.sh b/create_diracosrc.sh index 94ee0ef..8812576 100644 --- a/create_diracosrc.sh +++ b/create_diracosrc.sh @@ -60,9 +60,6 @@ echo "DIRACOS2 $INSTALLER_VER" > "$PREFIX/.diracos_version" -# Workaround for the incorrect etc directory in v7r2 -ln -s "$PREFIX/etc" "$PREFIX/lib/python3.11/site-packages/etc" - # Print further install instructions echo "" echo "DIRACOS has been installed sucessfully in $PREFIX"