[maemo-developers] [Fremantle] Creating gconf keys upon installation
From: Faheem Pervez trippin1 at gmail.comDate: Tue Jan 12 16:53:48 EET 2010
- Previous message: [Fremantle] Creating gconf keys upon installation
- Next message: [Fremantle] Creating gconf keys upon installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Talking of schemas, it would be nice if dh_gconf could be made not to put the "rmdir -p --ignore-fail-on-non-empty" line into the postrm of a package using it, since the BusyBox shipped with the N900 doesn't appear to support to support the "--ignore-fail-on-non-empty" option which causes dpkg --purge <package having the the clause containing "--ignore-fail-on-non-empty"> to fail. I'm currently "hacking" around it by installing my schema file manually, and inserting the usual lines generated by it manually into the respective files, replacing "rmdir -p --ignore-fail-on-non-empty" with "rmdir -p || true"... Best Regards, Faheem 2010/1/12 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>: > This is not a good way, since the Gconf database could be restored from > an old backup (or a power failure could occur) and you would lose these > values. The better way is to use a Gconf schema with default values, > because that stays even if the values are unset. > > -Kimmo >
- Previous message: [Fremantle] Creating gconf keys upon installation
- Next message: [Fremantle] Creating gconf keys upon installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]