We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546ab0b commit 550b592Copy full SHA for 550b592
ci/conda_recipe/psyplot-gui/osx-post.sh
@@ -27,8 +27,9 @@ elif [[ -e $HOME/Applications/Psyplot.app ]]; then
27
fi
28
29
# otherwise create a link
30
-ln -s -f $PREFIX/Psyplot.app /Applications/ >/dev/null 2>&1
31
-if (( $? )); then
+FAILED=0
+ln -s -f $PREFIX/Psyplot.app /Applications/ >/dev/null 2>&1 || FAILED=1
32
+if (( $FAILED )); then
33
mkdir -p $HOME/Applications
34
ln -s -f $PREFIX/Psyplot.app $HOME/Applications/ || exit 0
35
0 commit comments