dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0a0f1af00dbfec82dcb16473a693f797106f64f5
parent a889fef62f7425eb970717a9bcffa367d648a513
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Tue,  7 Nov 2017 08:02:58 -0500

fix upgrade logic for julia and conda

Diffstat:
Mlinks/bin/uu | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/links/bin/uu b/links/bin/uu @@ -1,5 +1,4 @@ #!/bin/bash -set -e UNAMESTR=`uname` echo "## Updating package manager lists and installed packages" @@ -30,12 +29,12 @@ cd ~/code/dotfiles && \ #git pull && \ #git submodule sync; git submodule update -if [[ ! "$(type -P conda)" ]]; then +if command -v conda >/dev/null 2>&1; then echo "## Upgrading conda packages" conda update --all fi -if [[ ! "$(type -P julia)" ]]; then +if command -v julia >/dev/null 2>&1; then echo "## Upgrading julia packages" - julia -e 'Pkg.update()' + julia --color=yes -e 'Pkg.update()' fi