From 693ee03c39e88ba4aa554137ef689d1c7fc64723 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Fri, 4 May 2018 01:08:21 +0200 Subject: cleaner post-update --- home/var/system/config-updater/post-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home/var/system/config-updater/post-update') diff --git a/home/var/system/config-updater/post-update b/home/var/system/config-updater/post-update index 4703f1b..dac607c 100644 --- a/home/var/system/config-updater/post-update +++ b/home/var/system/config-updater/post-update @@ -1,9 +1,9 @@ rm -f this_file_will_be_deleted rm -f bin/config-update.sh if ! [ -d $HOME/.oh-my-zsh ]; then - if which curl ; then + if which curl >/dev/null ; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - elif which wget ; then + elif which wget >/dev/null ; then sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" fi fi -- cgit v1.2.3