summaryrefslogtreecommitdiff
path: root/home/var/system/config-updater/post-update
blob: e2560f017e99ae19dfe1ab453859c5cd28cf271a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
rm -f this_file_will_be_deleted
rm -f bin/config-update.sh
if ! [ -d $HOME/.oh-my-zsh ]; 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 >/dev/null ; then
		sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
	fi
fi
rm -f .zshrc.pre-oh-my-zsh
# BEGIN removed files from git e3fb79a...6c7ef44 (2020-03-22)
[ -r .muttrc ] && echo "b12a8a14e58f07782d9a947f80107c83  .muttrc" | md5sum --check --status && rm -f .muttrc
[ -r .muttrc ] && echo "0f08dc7968033fd14b9131acfb9074d8  .muttrc" | md5sum --check --status && rm -f .muttrc
[ -r .Xresources ] && echo "f919d32723cee7cbae00718131fbe703  .Xresources" | md5sum --check --status && rm -f .Xresources
[ -r .zshrc.local ] && echo "8bcb00aa4de816bd158584f84feb3de2  .zshrc.local" | md5sum --check --status && rm -f .zshrc.local
# END removed files from git e3fb79a...6c7ef44 (2020-03-22)

zsh -c "source .oh-my-zsh/oh-my-zsh.sh ; omz update"