Bug#443728: #443728

2008-11-11 Thread Michael Gilbert
> sounds like a good idea. I would prefer ~/.cache/apt-file, though. i agree. this is a better choice. the free desktop XDG specification [1] says that caches should go in $XDG_CACHE_HOME, which defaults to ~/.cache. thanks! [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.ht

Bug#443728: #443728

2008-11-11 Thread Stefan Fritsch
On Tuesday 11 November 2008, Michael Gilbert wrote: > i would suggest the following minor/modest code changes: > >  1. use ~/.config/apt-file as the default cache directory when >  "apt-file update" is run as non-root (continue to use >  /var/cache/apt/apt-file as root). sounds like a good idea.

Bug#443728: #443728

2008-11-11 Thread Michael Gilbert
i would suggest the following minor/modest code changes: 1. use ~/.config/apt-file as the default cache directory when "apt-file update" is run as non-root (continue to use /var/cache/apt/apt-file as root). 2. use ~/.config/apt-cache as the default cache location, and fall back to /var/cache