Fix not checking dotfiles in cache path

This commit is contained in:
Gergely Koloszar 2025-10-21 19:04:38 +00:00
parent f2124218e4
commit 1dfe9cd9df

View File

@ -108,7 +108,7 @@ setup_state_files(){
logger INFO "Migrating legacy version file"
fi
# wipe cache files
if [[ $(ls "$cache_path") ]]; then
if [[ $(ls -A "$cache_path") ]]; then
for file in "$cache_path"/*; do
rm "$file"
done