diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 11:48:23 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 11:48:23 +0100 |
commit | 1d983e9f934bf6aeb9333c763fe1a603b8d8e5c4 (patch) | |
tree | ff96afaf569e8669a28ba35e85a1441621117d0b /lib/actions/clean.bash |
Initial commit
Diffstat (limited to 'lib/actions/clean.bash')
-rw-r--r-- | lib/actions/clean.bash | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/actions/clean.bash b/lib/actions/clean.bash new file mode 100644 index 0000000..c00e85d --- /dev/null +++ b/lib/actions/clean.bash @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +action() { + remove "$BASEDIR/tmp" + remove "$BASEDIR/install" +} + +remove() { + info "Removing $1" + rm -fr -- "$1" +} |