changeset 30:fe9c15fe739a

Branch merge.
author Edho Prima Arief <me@myconan.net>
date Sun, 06 Feb 2011 12:37:46 +0700
parents 9381a0c8f3f0 (current diff) 5db1b912f66b (diff)
children dcafed6ef1e6 3bcef95c376c
files
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup	Sun Feb 06 12:35:56 2011 +0700
+++ b/setup	Sun Feb 06 12:37:46 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() {