tags 494423 + patch
thanks

The attached patch replaces the rm/rmdir calls by rm -rf /var/run/fai, which
fixes the issue.

Best,
Michael

2008-09-05  Michael Tautschnig  <[EMAIL PROTECTED]>

        * debian/fai-client.postrm: Use rm -rf, we do so in other maintainer 
scripts
                as well and /var/run/fai is probably the least critical place
Index: trunk/debian/fai-client.postrm
===================================================================
--- trunk.orig/debian/fai-client.postrm
+++ trunk/debian/fai-client.postrm      
@@ -4,8 +4,7 @@
 
 case "$1" in
     purge)
-       rm /var/run/fai/* 2>/dev/null || true
-       rmdir /var/run/fai || true
+       rm -rf /var/run/fai
         ;;
 esac
 

Attachment: pgpIExgQRnrPY.pgp
Description: PGP signature

Reply via email to