summaryrefslogtreecommitdiff
path: root/home/var
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2018-05-03 23:46:31 +0200
committerDavid Kaufmann <astra@ionic.at>2018-05-03 23:46:31 +0200
commit770dca565be63f5d5675ef57bf7c5193414723ca (patch)
tree8ea4c42a75c62e3e3c005bdbfc8d67d346f2b6ef /home/var
parentfa93ee88b7f091046ed80864e5182ba6cdb1faca (diff)
downloadconfig-770dca565be63f5d5675ef57bf7c5193414723ca.tar.gz
update pre/post
Diffstat (limited to 'home/var')
-rw-r--r--home/var/system/config-updater/post-update6
-rw-r--r--home/var/system/config-updater/pre-update1
2 files changed, 1 insertions, 6 deletions
diff --git a/home/var/system/config-updater/post-update b/home/var/system/config-updater/post-update
index d570079..4703f1b 100644
--- a/home/var/system/config-updater/post-update
+++ b/home/var/system/config-updater/post-update
@@ -6,11 +6,5 @@ if ! [ -d $HOME/.oh-my-zsh ]; then
elif which wget ; then
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
fi
- if [ -f .zshrc ] ; then
- if [ -f .zshrc.pre-oh-my-zsh ] ; then
- cat .zshrc.pre-oh-my-zsh > .zshrc
- rm .zshrc
- fi
- fi
fi
rm -f .zshrc.pre-oh-my-zsh
diff --git a/home/var/system/config-updater/pre-update b/home/var/system/config-updater/pre-update
index ad97a25..e8f0b5c 100644
--- a/home/var/system/config-updater/pre-update
+++ b/home/var/system/config-updater/pre-update
@@ -1 +1,2 @@
rm -rf .vim
+rm -f .zshrc