Re: Bug#201023: dosemu: purging doesmu wipes out all user data under /var/lib/dosemu)
On 16-Jul-03, 04:30 (CDT), Herbert Xu <herbert@gondor.apana.org.au> wrote:
> Steve Greenland <steveg@moregruel.net> wrote:
> Remember that we're talking about dosemu's postrm removing
> /var/lib/dosemu...
No, we're talking about dosemu's postrm removing user data that is
trivially detected and saved. Dpkg --purge is supposed to remove the
package, not my stuff.
Why is it so hard to replace 'rm -rf /var/lib/dosemu' with
rm /var/lib/dosemu/freedos
rmdir /var/lib/dosemu || /bin/true
Or, slightly more complete:
for f in /var/lib/dosemu/* ; do
[ -L $f ] && rm $f
done
rmdir /var/lib/dosemu || /bin/true
This would solve the problem, and you could go back to real work rather
than this argument? (Just like I'm going to do now.)
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
Reply to: