comparison 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
comparison
equal deleted inserted replaced
26:175848778e77 29:5db1b912f66b
36 done 36 done
37 uninstall_tcsh 37 uninstall_tcsh
38 } 38 }
39 39
40 update() { 40 update() {
41 [ -f "${HOME}/.tcsh_exec" ] && mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after" 41 if [ -f "${HOME}/.tcsh_exec" ]; then
42 mv -f "${HOME}/.tcsh_exec" "${HOME}/.tcsh_init.after"
43 echo "Moved: ${HOME}/.tcsh_exec => ${HOME}/.tcsh_init.after"
44 fi
42 } 45 }
43 46
44 help() { 47 help() {
45 cat <<EOF 48 cat <<EOF
46 Usage: ${0} [install|uninstall] 49 Usage: ${0} [install|uninstall]