mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 06:32:53 +01:00
Fix not checking dotfiles in cache path
This commit is contained in:
1 parent
f2124218e4
commit
1dfe9cd9df
1 file changed
+1
-1
@@ -108,7 +108,7 @@ setup_state_files(){
|
|||||||
logger INFO "Migrating legacy version file"
|
logger INFO "Migrating legacy version file"
|
||||||
fi
|
fi
|
||||||
# wipe cache files
|
# wipe cache files
|
||||||
if [[ $(ls "$cache_path") ]]; then
|
if [[ $(ls -A "$cache_path") ]]; then
|
||||||
for file in "$cache_path"/*; do
|
for file in "$cache_path"/*; do
|
||||||
rm "$file"
|
rm "$file"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user