summaryrefslogtreecommitdiff
path: root/ifcreate/a.do
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2015-07-14 13:18:11 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2015-07-14 13:18:11 +0200
commit741dc2db9f1545af1446da87bcd07436940958eb (patch)
treea15728716915f8d4b0c61ed252dbb8a1d90ffacb /ifcreate/a.do
parentfcf34f61061f5e53709d25c4a70e63eff2d7ebd2 (diff)
* some stuff with redo-ifcreate
Diffstat (limited to 'ifcreate/a.do')
-rw-r--r--ifcreate/a.do4
1 files changed, 3 insertions, 1 deletions
diff --git a/ifcreate/a.do b/ifcreate/a.do
index 8c55c33..c183e95 100644
--- a/ifcreate/a.do
+++ b/ifcreate/a.do
@@ -1,5 +1,7 @@
#!/bin/sh
-if [ ! -e b ]; then
+if [ -e b ]; then
+ redo-ifchange b
+else
redo-ifcreate b
fi
sleep 1