From dd17ab947c9f32c749f45fa483bce9d1edcf6a60 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 16 Aug 2017 20:50:45 +0200 Subject: Make xclip/xsel call configurable. Request by Dominik Kaaser --- create-temp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'create-temp') diff --git a/create-temp b/create-temp index 02b6064..f72b2fd 100755 --- a/create-temp +++ b/create-temp @@ -31,8 +31,8 @@ TARGET="$HOME/tmp" 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 2773 "$BASE/$TODAY/downloads" +mkdir -p "$BASE/$TODAY" +[ -d "$BASE/$TODAY/downloads" ] || install -d -m 2770 -g ww-download "$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