From 385529f926e4326bc7badd18bbec49c9158429eb Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 9 Oct 2011 17:00:38 +0000 Subject: make downloads dir +t git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@490 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- create-temp | 1 + 1 file changed, 1 insertion(+) (limited to 'create-temp') diff --git a/create-temp b/create-temp index a022058..982e827 100755 --- a/create-temp +++ b/create-temp @@ -32,6 +32,7 @@ rmdir "$BASE/"*"/downloads" 2> /dev/null || true rmdir "$BASE/"* 2> /dev/null || true [ -d "$BASE/$TODAY" ] || mkdir "$BASE/$TODAY" +[ -d "$BASE/$TODAY/downloads" ] || mkdir -m 1773 "$BASE/$TODAY/downloads" if ! [ -L "$TARGET" ] && [ -e "$TARGET" ]; then echo "$0: '$TARGET' already exists and is not a symlink." >&2 exit 1; -- cgit v1.2.3