Mercurial > ec-dotfiles
comparison setup @ 23:738a2da8b79c
Added usage information for setup script.
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Tue, 04 Jan 2011 13:24:43 +0700 |
parents | 73123c5ef818 |
children | 175848778e77 |
comparison
equal
deleted
inserted
replaced
21:8fa64e01b85b | 23:738a2da8b79c |
---|---|
35 fi | 35 fi |
36 done | 36 done |
37 uninstall_tcsh | 37 uninstall_tcsh |
38 } | 38 } |
39 | 39 |
40 help() { | |
41 cat <<EOF | |
42 Usage: ${0} [install|uninstall] | |
43 EOF | |
44 } | |
45 | |
40 case "$1" in | 46 case "$1" in |
41 install) | 47 install) |
42 install | 48 install |
43 ;; | 49 ;; |
44 uninstall) | 50 uninstall) |
45 uninstall | 51 uninstall |
46 ;; | 52 ;; |
53 *) | |
54 help | |
55 ;; | |
47 esac | 56 esac |