commit 779240f4b6e00d027c7e6dd04a9e9204d2d8437b
parent 130cc9326cc114dd5b0e3edd601e0946a750a7ab
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 27 Mar 2019 09:25:54 +0100
Fix julia check during update script
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/uu b/bin/uu
@@ -49,13 +49,14 @@ announce "Updating dotfiles"
. ~/.commands.sh
dotfiles pull
dotfiles pull --recurse-submodules && m-all-sl
+announce "Finished building dotfiles"
if type conda >/dev/null; then
announce "Upgrading conda packages"
conda update --all --yes
fi
-if julia >/dev/null; then
+if type julia >/dev/null; then
announce "Upgrading julia packages"
julia --color=yes -e 'import Pkg; Pkg.update()'
fi