summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2018-05-04 01:08:21 +0200
committerDavid Kaufmann <astra@ionic.at>2018-05-04 01:08:21 +0200
commit693ee03c39e88ba4aa554137ef689d1c7fc64723 (patch)
tree12e3ffdf60c097961b92429b1f7d9de657d8245d /home
parent770dca565be63f5d5675ef57bf7c5193414723ca (diff)
downloadconfig-693ee03c39e88ba4aa554137ef689d1c7fc64723.tar.gz
cleaner post-update
Diffstat (limited to 'home')
-rw-r--r--home/var/system/config-updater/post-update4
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