commit 64661dffbf8f285f76fcc9e4c11e21b1c2429e69
parent 358f796d4cfe398159c59a9c2ad3bde18fa504a7
Author: Chris Down <chris@chrisdown.name>
Date: Sat, 11 Jul 2020 12:57:09 +0100
clipdel: Recreate cache_dir
After 80b697edd2, this is required.
Fixes #133.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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 < <(