clipdel: Recreate cache_dir

After 80b697edd2, this is required.

Fixes #133.
This commit is contained in:
Chris Down 2020-07-11 12:57:09 +01:00
parent 358f796d4c
commit 64661dffbf

View file

@ -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 < <(