diff options
| author | David Kaufmann <astra@ionic.at> | 2018-05-04 01:08:21 +0200 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2018-05-04 01:08:21 +0200 |
| commit | 693ee03c39e88ba4aa554137ef689d1c7fc64723 (patch) | |
| tree | 12e3ffdf60c097961b92429b1f7d9de657d8245d /home/var/system/config-updater/post-update | |
| parent | 770dca565be63f5d5675ef57bf7c5193414723ca (diff) | |
| download | config-693ee03c39e88ba4aa554137ef689d1c7fc64723.tar.gz | |
cleaner post-update
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 |
