find-junk: add ~/.cache/tracker to list of junk directories
This commit is contained in:
parent
9273822038
commit
eaef668c0f
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ M = 1024*1024
|
|||
def junk_dirs():
|
||||
"""Return directories which potentially contain junk"""
|
||||
|
||||
for d in ['~/tmp', '~/.local/share/Trash', '~/rpmbuild', '~/RPM']:
|
||||
for d in ['~/tmp', '~/.local/share/Trash', '~/rpmbuild', '~/RPM',
|
||||
'~/.cache/tracker']:
|
||||
d = os.path.expanduser(d)
|
||||
if os.path.exists(d):
|
||||
yield d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue