Re: Script to Clean Up Orphans

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:


$ 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:

  $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
Nick Urbanik              nicku nicku org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24

Attachment: pgpXqIb8QAMQE.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]