summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2010-03-22 22:45:10 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2010-03-22 22:45:10 +0000
commitf67e3bc2e45ed0cd759a2c00cc45fa4c7c0c4b3a (patch)
tree580475ac23e04397405e721d3191613a92f1d35a
parentf5ea04cc56855a4e868ba5c05fb904f853809994 (diff)
also get rid of empty download dirs
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@448 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xcreate-temp1
1 files changed, 1 insertions, 0 deletions
diff --git a/create-temp b/create-temp
index 573a89c..a022058 100755
--- a/create-temp
+++ b/create-temp
@@ -28,6 +28,7 @@ BASE="$HOME/.temp"
TARGET="$HOME/tmp"
+rmdir "$BASE/"*"/downloads" 2> /dev/null || true
rmdir "$BASE/"* 2> /dev/null || true
[ -d "$BASE/$TODAY" ] || mkdir "$BASE/$TODAY"