Subversion Repositories prayer

Compare Revisions

Regard whitespace Rev 25 → Rev 26

/trunk/debian/prayer.postrm
19,20 → 19,24
 
 
case "$1" in
purge)
deluser --system --quiet prayer || true
rm -rf /var/log/prayer
dpkg-statoverride --remove /var/log/prayer
[ -e /var/run/prayer/ ] || dpkg-statoverride --remove /var/run/prayer
upgrade|abort-install|failed-upgrade|abort-upgrade)
;;
 
remove|disappear)
find /var/run/prayer/ -mindepth 1 \( -type s -o -name ssl_scache -o -empty \) -delete
 
rm -rf /var/run/prayer
;;
 
upgrade|abort-install|failed-upgrade|abort-upgrade)
 
purge)
rm -rf /var/log/prayer
if dpkg-statoverride --list /var/log/prayer >/dev/null 2>&1; then
dpkg-statoverride --remove /var/log/prayer
fi
if dpkg-statoverride --list /var/run/prayer >/dev/null 2>&1; then
dpkg-statoverride --remove /var/run/prayer
fi
if [ -x /usr/sbin/deluser ]; then
deluser --system --quiet prayer || true
fi
;;
 
*)
/trunk/debian/changelog
14,11 → 14,14
+ Build-depend on latest Berkley DB library (libdb-dev).
+ Add Homepage field.
* prayer.postinst: Set HOME of prayer user to /var/run/prayer.
* prayer.postrm: Simply remove /var/run/prayer (since accountd doesn't use it)
on remove or disappear and correctly remove statoverrides (Closes: #483176).
Also check that deluser exists; it may be gone at purge time.
* Package build details:
- Reduce makefile_install_config.patch by not changing BROOT into DESTDIR.
- Override CDBS overriding CFLAGS.
 
-- Magnus Holmgren <holmgren@debian.org> Thu, 29 May 2008 20:37:03 +0200
-- Magnus Holmgren <holmgren@debian.org> Thu, 29 May 2008 20:43:33 +0200
 
prayer (1.1.0-2) unstable; urgency=low