Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
cef8b1ab
Commit
cef8b1ab
authored
Feb 05, 2018
by
Matthew Webster
Committed by
Paul McCarthy
Feb 06, 2018
Browse files
Modified to request install
parent
d3b4eef6
Changes
2
Hide whitespace changes
Inline
Side-by-side
.conda/post-link.sh
View file @
cef8b1ab
if
[
-z
${
FSLDIR
}
]
;
then
exit
;
fi
if
[
-e
${
FSLDIR
}
/bin/requestFSLpythonLink.sh
]
;
then
if
[
!
-d
${
FSLDIR
}
/bin
]
;
then
exit
;
fi
$FSLDIR
/bin/requestFSLpythonLink.sh
${
PREFIX
}
/bin atlasquery atlasq imcp immv imglob
scripts
=
"atlasquery atlasq imcp immv imglob"
fi
for
script
in
$scripts
;
do
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
ln
-s
${
PREFIX
}
/bin/
${
script
}
${
FSLDIR
}
/bin/
${
script
}
done
.conda/pre-unlink.sh
View file @
cef8b1ab
if
[
-z
${
FSLDIR
}
]
;
then
exit
;
fi
if
[
-e
${
FSLDIR
}
/bin/requestFSLpythonUnlink.sh
]
;
then
scripts
=
"atlasquery atlasq imcp immv imglob"
$FSLDIR
/bin/requestFSLpythonUnlink.sh
${
PREFIX
}
/bin atlasquery atlasq imcp immv imglob
for
script
in
$scripts
;
do
fi
if
[
-f
${
FSLDIR
}
/bin/
${
script
}
]
;
then
rm
${
FSLDIR
}
/bin/
${
script
}
;
fi
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment