Mercurial > ec-dotfiles
diff setup @ 30:fe9c15fe739a
Branch merge.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Sun, 06 Feb 2011 12:37:46 +0700 |
parents | 5db1b912f66b |
children | 34818dfa7f36 |
line wrap: on
line diff
--- a/setup Sun Feb 06 12:35:56 2011 +0700 +++ b/setup Sun Feb 06 12:37:46 2011 +0700 @@ -38,7 +38,10 @@ } update() { - [ -f "${HOME}/.tcsh_exec" ] && mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after" + if [ -f "${HOME}/.tcsh_exec" ]; then + mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after" + echo "Moved: ${HOME}/.tcsh_exec => ${HOME}/.tcsh_init.after" + fi } help() {