gdm: remove var/lib/gdm if pkg is purged, bumprev.

This commit is contained in:
Juan RP 2010-11-04 14:40:11 +01:00
parent ecc32d630b
commit 685d1cf184
2 changed files with 11 additions and 0 deletions

10
srcpkgs/gdm/REMOVE Normal file
View file

@ -0,0 +1,10 @@
#
# This script removes leftovers dirs.
#
case "${ACTION}" in
post)
if [ -d var/lib/gdm ]; then
rm -rf var/lib/gdm
fi
;;
esac

View file

@ -1,6 +1,7 @@
# Template file for 'gdm' # Template file for 'gdm'
pkgname=gdm pkgname=gdm
version=2.32.0 version=2.32.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2" distfiles="${GNOME_SITE}/$pkgname/2.32/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--disable-schemas-install --disable-scrollkeeper configure_args="--disable-schemas-install --disable-scrollkeeper