Package: gallery2
Version: gallery2-2.3.1.dfsg-1
Severity: important
When purging Gallery2 not all files and dirs are removed.
Do you want to continue [Y/n]? y
(Reading database ... 116434 files and directories currently installed.)
Removing gallery2 ...
Purging configuration files for gallery2 ...
dpkg: warning: while removing gallery2, directory '/etc/gallery2' not
empty so
not removed.
dpkg: warning: while removing gallery2, directory
'/usr/share/gallery2/lib' not
empty so not removed.
dpkg: warning: while removing gallery2, directory '/usr/share/gallery2'
not
empty so not removed.
debian:/home/charlie#
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gallery2 depends on:
ii apache2-mpm-prefork [httpd] 2.2.15-5 Apache HTTP Server -
traditional n
ii debconf [debconf-2.0] 1.5.32 Debian configuration
management sy
ii libapache2-mod-php5 5.3.2-1 server-side, HTML-embedded
scripti
ii libphp-adodb 5.10-1 The ADOdb database
abstraction lay
ii mysql-client-5.1 [mysql-clie 5.1.48-1 MySQL database client
binaries
ii netpbm 2:10.0-12.2 Graphics conversion tools
between
ii php5 5.3.2-1 server-side, HTML-embedded
scripti
ii php5-mysql 5.3.2-1 MySQL module for php5
ii smarty 2.6.26-0.1 Template engine for PHP
ii wwwconfig-common 0.2.1 Debian web auto
configuration
Versions of packages gallery2 recommends:
ii dcraw 8.99-1 decode raw digital camera
images
ii ffmpeg 4:0.5.2-1 multimedia player, server
and enco
ii jhead 1:2.90-2 manipulate the non-image
part of E
ii libjpeg-progs 8b-1 Programs for manipulating
JPEG fil
ii php5-gd 5.3.2-1 GD module for php5
ii unzip 6.0-4 De-archiver for .zip files
ii zip 3.0-3 Archiver for .zip files
Versions of packages gallery2 suggests:
Best regards
Charlie
=== modified file 'debian/gallery2.postrm'
--- debian/gallery2.postrm 2010-01-12 04:14:07 +0000
+++ debian/gallery2.postrm 2010-07-26 21:25:58 +0000
@@ -86,5 +86,13 @@
done
fi
+if [ "$1" = purge ]; then
+ if [ -d /etc/gallery2 ]; then
+ rm -rf /etc/gallery2
+ fi
+ if [ -d /usr/share/gallery2 ]; then
+ rm -rf /usr/share/gallery2
+ fi
+fi
#DEBHELPER#