summaryrefslogtreecommitdiffstats
path: root/tasks/cleanup.task.sh
diff options
context:
space:
mode:
authorSebastian2010-04-09 23:56:28 +0200
committerSebastian2010-04-09 23:56:28 +0200
commitbbf39bd59f31084d499c2cdd064274093b39dad8 (patch)
tree6715dffc0fc60fec9df5efdbe6a127faf454881b /tasks/cleanup.task.sh
parentadded caching (diff)
downloadbroot-bbf39bd59f31084d499c2cdd064274093b39dad8.tar.gz
broot-bbf39bd59f31084d499c2cdd064274093b39dad8.tar.xz
broot-bbf39bd59f31084d499c2cdd064274093b39dad8.zip
added dependency based system to run defined tasks
Diffstat (limited to 'tasks/cleanup.task.sh')
-rw-r--r--tasks/cleanup.task.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/cleanup.task.sh b/tasks/cleanup.task.sh
new file mode 100644
index 0000000..1f25878
--- /dev/null
+++ b/tasks/cleanup.task.sh
@@ -0,0 +1,6 @@
+cleanup() {
+ # make sure all bindmounts have been umounted
+ echo " Umount temporary (bind)mounts"
+ destroyBindmounts
+ touch /tmp/.broot.exit
+}