Hello community, here is the log from the commit of package postfix for openSUSE:12.1:Update:Test checked in at 2012-01-12 16:01:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update:Test/postfix (Old) and /work/SRC/openSUSE:12.1:Update:Test/.postfix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix", Maintainer is "vark...@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.1:Update:Test/postfix/postfix.changes 2012-01-11 18:28:55.000000000 +0100 +++ /work/SRC/openSUSE:12.1:Update:Test/.postfix.new/postfix.changes 2012-01-12 16:01:14.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Jan 12 12:18:17 UTC 2012 - vark...@suse.com + +- Add postmap rebuild script to systemv init script too + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix-SuSE.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/postfix-SuSE/rc.postfix new/postfix-SuSE/rc.postfix --- old/postfix-SuSE/rc.postfix 2011-08-22 11:29:28.000000000 +0200 +++ new/postfix-SuSE/rc.postfix 2012-01-12 13:17:54.000000000 +0100 @@ -107,6 +107,23 @@ return $RET } +update_postmaps() { + test -f /etc/sysconfig/postfix && . /etc/sysconfig/postfix + + if [ -n "${POSTFIX_UPDATE_MAPS/[yY][Ee][Ss]/}" ]; then + return + fi + # Update the postmaps + for i in $POSTFIX_MAP_LIST; do + m=/etc/postfix/$i; + d=$m.db + test -e "$d" || continue; + if [ -e $m -a $m -nt $d ]; then + postmap $m; + fi + done +} + # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status # rc_status check and set local and overall rc status @@ -198,6 +215,7 @@ ## the echo return value is set appropriate. if ! checkproc -p $PIDFILE $MASTER_BIN; then + update_postmaps $POSTFIX_BIN start > /dev/null 2>&1 else rc_reset -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org