Bug#360588: Proposed patch

2006-05-21 Thread martin f krafft
also sprach Enrico Zini <[EMAIL PROTECTED]> [2006.05.21.1237 -0500]: > Using 2>/dev/null is usually not a good idea, in that it also hides the > error messages you wouldn't expect to be hidden. Yeah, which includes warnings about r/o /usr/local -- Please do not send copies of list mail to me; I

Bug#360588: Proposed patch

2006-05-21 Thread Enrico Zini
On Mon, May 22, 2006 at 12:28:04AM +0800, Cameron Patrick wrote: > On Sun, May 21, 2006 at 11:04:20AM -0500, martin f krafft wrote: > > also sprach Enrico Zini <[EMAIL PROTECTED]> [2006.05.21.0008 -0500]: > > > -rmdir --ignore-fail-on-non-empty /usr/local/share/hibernate/scriptlets.d > > > -rmdir -

Bug#360588: Proposed patch

2006-05-21 Thread martin f krafft
also sprach Cameron Patrick <[EMAIL PROTECTED]> [2006.05.21.1128 -0500]: > I think rmdir 2>/dev/null would be a better solution in any case. I > think that's what I originally had, but then noticed that other packages > were using --ignore-fail-on-non-empty and thought there must have been a > goo

Bug#360588: Proposed patch

2006-05-21 Thread Cameron Patrick
On Sun, May 21, 2006 at 11:04:20AM -0500, martin f krafft wrote: > also sprach Enrico Zini <[EMAIL PROTECTED]> [2006.05.21.0008 -0500]: > > -rmdir --ignore-fail-on-non-empty /usr/local/share/hibernate/scriptlets.d > > -rmdir --ignore-fail-on-non-empty /usr/local/share/hibernate > > +rmdir /usr/loc

Bug#360588: Proposed patch

2006-05-21 Thread martin f krafft
also sprach Enrico Zini <[EMAIL PROTECTED]> [2006.05.21.0008 -0500]: > -rmdir --ignore-fail-on-non-empty /usr/local/share/hibernate/scriptlets.d > -rmdir --ignore-fail-on-non-empty /usr/local/share/hibernate > +rmdir /usr/local/share/hibernate/scriptlets.d || true > +rmdir /usr/local/share/hibernat

Bug#360588: Proposed patch

2006-05-20 Thread Enrico Zini
Hello, the patch below is sufficient to fix the problem. I tested it with a normal /usr/local/share and with a readonly one (simulated via chattr +i). diff -Naur hibernate-1.12/debian/hibernate.prerm hibernate-1.12.enrico/debian/hibernate.prerm --- hibernate-1.12/debian/hibernate.prerm 2