From caea717ad3441e9f4da8a4112a685ec28066fe4f Mon Sep 17 00:00:00 2001 From: Zoran Dzelajlija Date: Mon, 13 Nov 2006 16:57:06 +0000 Subject: [PATCH] r10: [ -x /usr/bin/newaliases ] u prerm. --- changelog.CARNet | 6 ++++++ debian/prerm | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/changelog.CARNet b/changelog.CARNet index ae097b5..8e57449 100644 --- a/changelog.CARNet +++ b/changelog.CARNet @@ -1,3 +1,9 @@ +amavisd-cn (2:20030616p10-12) sarge; urgency=low + + * U prerm pazi da li postoji newaliases. + + -- Zoran Dzelajlija Mon, 13 Nov 2006 17:56:28 +0100 + amavisd-cn (2:20030616p10-11) sarge; urgency=low * Ispravljen typo u uvjetima za provjeru postfix konfiguracije. diff --git a/debian/prerm b/debian/prerm index c3e9da1..3a25577 100755 --- a/debian/prerm +++ b/debian/prerm @@ -54,5 +54,7 @@ if [ "$1" = remove ]; then fi fi cp-update -r $PKG $ALIASES >&- - newaliases + if [ -x /usr/bin/newaliases ]; then + newaliases + fi fi -- 1.7.10.4