Mercurial > ec-dotfiles
changeset 26:175848778e77
Added initial upgrade support.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Fri, 21 Jan 2011 05:33:37 +0000 |
parents | e0b9a89a559d |
children | bbd189f52beb 5db1b912f66b |
files | setup |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/setup Fri Jan 21 05:32:12 2011 +0000 +++ b/setup Fri Jan 21 05:33:37 2011 +0000 @@ -37,6 +37,10 @@ uninstall_tcsh } +update() { + [ -f "${HOME}/.tcsh_exec" ] && mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after" +} + help() { cat <<EOF Usage: ${0} [install|uninstall] @@ -50,6 +54,9 @@ uninstall) uninstall ;; + update) + update + ;; *) help ;;