[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684437: unblock: fpc/2.6.0-6



On Fri, Aug 10, 2012 at 01:24:09AM +0100, peter green wrote:
> I have just sponsored a fpc upload by Abou Al Montacir to unstable, fixing two
> important bugs (note: one of the bugs was initially filed as normal but 
> speaking as a co-maintainer of the package I judge it to be important and have
> upped the severity accordingly).

Uhm, is it really required by policy to delete backup files that weren't
created by the package in the first place?

diff -Nru fpc-2.6.0/debian/fp-compiler.postrm.in fpc-2.6.0/debian/fp-compiler.postrm.in
--- fpc-2.6.0/debian/fp-compiler.postrm.in      2012-05-06 21:43:32.000000000 +0000
+++ fpc-2.6.0/debian/fp-compiler.postrm.in      2012-08-09 22:55:10.000000000 +0000
@@ -4,12 +4,14 @@
 
 ACTION=$1
 
-CFG_FILE="/etc/fpc-${VERSION}.cfg"
+CFG_FILE="/etc/fpc-${VERSION}"
 
 # Debhelper code
 #DEBHELPER#
 
 if test "${ACTION}" = "purge"
 then
-       rm -f ${CFG_FILE}
+       rm -f  "${CFG_FILE}".cfg
+       rm -f  "${CFG_FILE}".bak
+       rm -f  "${CFG_FILE}".*dpkg*
 fi

The second part does not make me happy.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature


Reply to: