fix cache clearing

This commit is contained in:
speedie 2023-05-06 14:54:06 +02:00
parent 864c53e174
commit 81dba63bc9

View file

@ -635,6 +635,10 @@ cache_desktop() {
if [ "$cached_c" = "$entry_c" ] || [ "$cached_c" -gt "$entry_c" ]; then
return
fi
else
if [ "$clearcache" != "true" ] && [ -f "$TITLEFILE" ] && [ -f "$ICONFILE" ] && [ -f "$EXECFILE" ] && [ -f "$FILEFILE" ] && [ -f "$DESCFILE" ]; then
return;
fi
fi
[ -f "$TITLEFILE" ] && rm -f "$TITLEFILE"