I maintain a game which saves its high score in /var/games . It creates /var/games in its postinst to avoid dpkg -r "directory not removed because it is not empty" warning. What is the right way to uninstall /var/games in postrm on purge? Problems: 1) The package should remove /var/games on purge if necessary because, unlike /var/log, /var/games is not a part of base-files . 2) There may be a game such that: * it saves its high score in a file in /var/games, not in a subdirectory under /var/games * it does not create a file in /var/games until the first entry of the high score is saved If such a game is installed, any other game should not remove /var/games even if /var/games is empty.
-- 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]