Blame SOURCES/postfix-3.3.3-alternatives.patch

aebf40
diff --git a/conf/post-install b/conf/post-install
eaa7a1
index 25ef7e6..4fd6434 100644
aebf40
--- a/conf/post-install
aebf40
+++ b/conf/post-install
eaa7a1
@@ -537,6 +537,17 @@ test -n "$create" && {
aebf40
 	    case $path in
aebf40
 	    no|no/*) continue;;
aebf40
 	    esac
aebf40
+	    # Munge paths for alternatives.
aebf40
+	    case $path in
aebf40
+		/usr/bin/mailq) path=$path.postfix ;;
aebf40
+		/usr/bin/newaliases) path=$path.postfix ;;
aebf40
+		/usr/bin/rmail) path=$path.postfix ;;
aebf40
+		/usr/sbin/sendmail) path=$path.postfix ;;
aebf40
+		/usr/share/man/man1/mailq.1.gz) path=/usr/share/man/man1/mailq.postfix.1.gz ;;
aebf40
+		/usr/share/man/man1/newaliases.1.gz) path=/usr/share/man/man1/newaliases.postfix.1.gz ;;
aebf40
+		/usr/share/man/man5/aliases.5.gz) path=/usr/share/man/man5/aliases.postfix.5.gz ;;
aebf40
+		/usr/share/man/man8/smtpd.8.gz) path=/usr/share/man/man8/smtpd.postfix.8.gz ;;
aebf40
+	    esac
aebf40
 	    # Pick up the flags.
aebf40
 	    case $flags in *u*) upgrade_flag=1;; *) upgrade_flag=;; esac
aebf40
 	    case $flags in *c*) create_flag=1;; *) create_flag=;; esac