diff options
Diffstat (limited to 'home/var/system/config-updater/post-update')
| -rw-r--r-- | home/var/system/config-updater/post-update | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
