summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/var/system/config-updater/post-update7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/var/system/config-updater/post-update b/home/var/system/config-updater/post-update
index 24757d8..42ae53d 100644
--- a/home/var/system/config-updater/post-update
+++ b/home/var/system/config-updater/post-update
@@ -1,2 +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
+ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
+ elif which wget ; then
+ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
+ fi
+fi