projects
/
tpope-extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5006e21
)
Removed space in caminfo and updated status on abe
author
Tim Pope
<code@tpope.net>
Thu, 28 Oct 2004 19:33:07 +0000
(19:33 +0000)
committer
Tim Pope
<code@tpope.net>
Thu, 28 Oct 2004 19:33:07 +0000
(19:33 +0000)
bin/away-actions
patch
|
blob
|
history
diff --git
a/bin/away-actions
b/bin/away-actions
index 5bcf9f99f481e3dc2e41bf1d08ce1e2558474c68..c49a1dc936d8dfc225b1da9b9ac3002be9ae458c 100755
(executable)
--- a/
bin/away-actions
+++ b/
bin/away-actions
@@
-18,8
+18,10
@@
esac
if [ "$is_away" = 1 ]; then
[ ! -f /tmp/.tpope_lights ] && touch /tmp/.tpope_lights && br -F -F
if [ "$is_away" = 1 ]; then
[ ! -f /tmp/.tpope_lights ] && touch /tmp/.tpope_lights && br -F -F
-else
- rm -f /tmp/.tpope_lights; br -n 5
+elif [ -f /tmp/.tpope_lights ]; then
+ br -n 5
+ rm -f /tmp/.tpope_lights
+ br -n 5
fi
if [ "$activity" ]; then
fi
if [ "$activity" ]; then
@@
-37,9
+39,10
@@
if [ -z "$information" ]; then
echo Here > "$HOME/.status"
rm -f "$HOME/.plan"
else
echo Here > "$HOME/.status"
rm -f "$HOME/.plan"
else
- echo "
- $information" > "$HOME/.caminfo"
+ echo "- $information" > "$HOME/.caminfo"
echo "$information" > "$HOME/.status"
echo "$information" > "$HOME/.plan"
fi
ping -c 1 bart >/dev/null && scp -q "$HOME/.status" bart: 2>/dev/null
echo "$information" > "$HOME/.status"
echo "$information" > "$HOME/.plan"
fi
ping -c 1 bart >/dev/null && scp -q "$HOME/.status" bart: 2>/dev/null
+ping -c 1 abe >/dev/null && scp -q "$HOME/.status" abe: 2>/dev/null