Mercurial > ec-dotfiles
diff setup @ 29:5db1b912f66b
Update now with message
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Sun, 23 Jan 2011 00:07:11 +0700 |
parents | 175848778e77 |
children | 34818dfa7f36 |
line wrap: on
line diff
--- a/setup Fri Jan 21 05:33:37 2011 +0000 +++ b/setup Sun Jan 23 00:07:11 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() {