On 01 Jan 2003 12:25:50 -0800, Ian Zimmerman <[EMAIL PROTECTED]> wrote: > Oohara> I maintain a game which saves its high score in /var/games . > Oohara> It creates /var/games in its postinst to avoid dpkg -r > Oohara> "directory not removed because it is not empty" warning. > > Colin> I don't think you should worry about that warning. Accept it as > Colin> a bug in dpkg, tell anybody who complains about it that it's a > Colin> bug in dpkg, and make your package behave in the simplest > Colin> possible way. > > I agree. It is a small problem (if one at all) compared to the ones > you already know you'd encounter trying to avoid it. I forgot why the high score directory is created in postinst in the first place. I want to keep the high score file when the package is removed but not purged, so including /var/games in .deb is wrong.
The problem on purge is still unsolved, though. -- Oohara Yuuma <[EMAIL PROTECTED]> Debian developer PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt Key fingerprint = 6142 8D07 9C5B 159B C170 1F4A 40D6 F42E F464 A695 smile to answer --- Treasure, "Radiant Silvergun", attitude #3 for SBS-130 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]