comparison setup @ 26:175848778e77

Added initial upgrade support.
author Edho Prima Arief <me@myconan.net>
date Fri, 21 Jan 2011 05:33:37 +0000
parents 738a2da8b79c
children 5db1b912f66b
comparison
equal deleted inserted replaced
25:e0b9a89a559d 26:175848778e77
35 fi 35 fi
36 done 36 done
37 uninstall_tcsh 37 uninstall_tcsh
38 } 38 }
39 39
40 update() {
41 [ -f "${HOME}/.tcsh_exec" ] && mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after"
42 }
43
40 help() { 44 help() {
41 cat <<EOF 45 cat <<EOF
42 Usage: ${0} [install|uninstall] 46 Usage: ${0} [install|uninstall]
43 EOF 47 EOF
44 } 48 }
48 install 52 install
49 ;; 53 ;;
50 uninstall) 54 uninstall)
51 uninstall 55 uninstall
52 ;; 56 ;;
57 update)
58 update
59 ;;
53 *) 60 *)
54 help 61 help
55 ;; 62 ;;
56 esac 63 esac