From 19c2511ca46d792cbd348dd68f9f6db1a4d75dfe Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 2 Aug 2013 10:52:10 +0100 Subject: Installer: check for host-specific zshrc before trying to compile --- install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install b/install index 0fa5859e..40c134f8 100755 --- a/install +++ b/install @@ -58,8 +58,10 @@ zfiles=( dotfiles/zsh/functions/fasd/fasd $fasd_cache dotfiles/zsh/zshrc - dotfiles/zsh/zshrc_${HOST%%.*} ) +if [[ -f dotfiles/zsh/zshrc_${HOST%%.*} ]]; then + zfiles+=dotfiles/zsh/zshrc_${HOST%%.*} +fi if [[ -e /usr/bin/emerge ]]; then zfiles+=dotfiles/zsh/zshrc_gentoo fi -- cgit 1.4.1