Dear Michael, Thanks for your efforts. On 17/10/09 11:03 -0700, Michael Lissner wrote:
Thanks Jean. I updated that so it actually uses a variable for the dbpath, and cleaned up a couple other things as well. The latest version is here: http://michaeljaylissner.com/blog/script-to-cleanup-fspot-database
$ echo $XDG_CONFIG_DIR $ env | grep CONFIG $ ls -l /home/nicku/.config/f-spot/photos.db I'm using Fedora 11. Your script assumes that XDG_CONFIG_DIR is set. From my memory, ~/.config matches some sort of standard: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. So perhaps your default should be $HOME/.config instead of $HOME/.gnome2. -- Nick Urbanik http://nicku.org nicku nicku org GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
Attachment:
pgpXqIb8QAMQE.pgp
Description: PGP signature