From 260653fc1216643f7b57135d3a10ddb4d2bb2748 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <paulmc@fmrib.ox.ac.uk> Date: Thu, 9 Feb 2023 12:45:17 +0000 Subject: [PATCH] MNT: Bump version, add pre/post link scripts --- meta.yaml | 2 +- post-link.sh | 3 +++ pre-unlink.sh | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 post-link.sh create mode 100644 pre-unlink.sh diff --git a/meta.yaml b/meta.yaml index 0119bf8..87aebb6 100644 --- a/meta.yaml +++ b/meta.yaml @@ -3,7 +3,7 @@ # The git repository for this conda recipe is: https://git.fmrib.ox.ac.uk/fsl/conda/fsl-base.git {% set name = 'fsl-base' %} -{% set version = '2301.1' %} +{% set version = '2302.0' %} {% set repository = 'https://git.fmrib.ox.ac.uk/fsl/base.git' %} {% set build = '0' %} diff --git a/post-link.sh b/post-link.sh new file mode 100644 index 0000000..26f8b4d --- /dev/null +++ b/post-link.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/createFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/createFSLWrapper fslversion update_fsl_release +fi diff --git a/pre-unlink.sh b/pre-unlink.sh new file mode 100644 index 0000000..e45ed3c --- /dev/null +++ b/pre-unlink.sh @@ -0,0 +1,3 @@ +if [ -e ${FSLDIR}/share/fsl/sbin/removeFSLWrapper ]; then + ${FSLDIR}/share/fsl/sbin/removeFSLWrapper fslversion update_fsl_release +fi -- GitLab