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       2006-05-21 00:02:58.000000000 
-0500
+++ hibernate-1.12.enrico/debian/hibernate.prerm        2006-05-21 
00:02:43.674965080 -0500
@@ -1,7 +1,7 @@
 #! /bin/sh
 # Pre-removal hook script for hibernate
 
-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/hibernate || true
 
 #DEBHELPER#


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to