From 64661dffbf8f285f76fcc9e4c11e21b1c2429e69 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Sat, 11 Jul 2020 12:57:09 +0100 Subject: [PATCH] clipdel: Recreate cache_dir After 80b697edd2, this is required. Fixes #133. --- clipdel | 1 + 1 file changed, 1 insertion(+) diff --git a/clipdel b/clipdel index f6c7913..a1d6e9a 100755 --- a/clipdel +++ b/clipdel @@ -63,6 +63,7 @@ exec {lock_fd}> "$lock_file" if (( CM_REAL_DELETE )) && [[ "$raw_pattern" == ".*" ]]; then flock -x -w "$lock_timeout" "$lock_fd" || exit rm -rf -- "$cache_dir" + mkdir -p -- "$cache_dir" exit 0 else mapfile -t matches < <(