From 982ac2f7a25992ebd23fe14b46388077f8a299d6 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Aug 2015 09:54:20 +0100 Subject: [PATCH] postfix: Uninstall sendmail alternative when uninstalling Signed-off-by: Michael Tremer --- lfs/postfix | 2 +- src/paks/postfix/uninstall.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/postfix b/lfs/postfix index 20b1116014..5810c5632a 100644 --- a/lfs/postfix +++ b/lfs/postfix @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = postfix -PAK_VER = 8 +PAK_VER = 9 DEPS = "amavisd mysql" diff --git a/src/paks/postfix/uninstall.sh b/src/paks/postfix/uninstall.sh index bc70451a17..bff411a91d 100644 --- a/src/paks/postfix/uninstall.sh +++ b/src/paks/postfix/uninstall.sh @@ -25,5 +25,6 @@ extract_backup_includes stop_service ${NAME} make_backup ${NAME} +/usr/sbin/alternatives --remove sendmail /usr/sbin/sendmail.postfix remove_files rm -rfv /etc/rc.d/rc*.d/*postfix -- 2.39.5