From owner-svn-ports-all@freebsd.org Mon Mar 5 10:22:21 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54B11F458DF; Mon, 5 Mar 2018 10:22:21 +0000 (UTC) (envelope-from tota@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 05933716FD; Mon, 5 Mar 2018 10:22:21 +0000 (UTC) (envelope-from tota@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 002DA229FE; Mon, 5 Mar 2018 10:22:21 +0000 (UTC) (envelope-from tota@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w25AMKiR078904; Mon, 5 Mar 2018 10:22:20 GMT (envelope-from tota@FreeBSD.org) Received: (from tota@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w25AMKXE078902; Mon, 5 Mar 2018 10:22:20 GMT (envelope-from tota@FreeBSD.org) Message-Id: <201803051022.w25AMKXE078902@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tota set sender to tota@FreeBSD.org using -f From: TAKATSU Tomonari Date: Mon, 5 Mar 2018 10:22:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463639 - head/japanese/mailman/files X-SVN-Group: ports-head X-SVN-Commit-Author: tota X-SVN-Commit-Paths: head/japanese/mailman/files X-SVN-Commit-Revision: 463639 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 10:22:21 -0000 Author: tota Date: Mon Mar 5 10:22:20 2018 New Revision: 463639 URL: https://svnweb.freebsd.org/changeset/ports/463639 Log: - Remove unnecessary line from files/pkg-deinstall.in - Fix files/pkg-install.in Pointed out by: riggs@ MFH: 2018Q1 Modified: head/japanese/mailman/files/pkg-deinstall.in (contents, props changed) head/japanese/mailman/files/pkg-install.in (contents, props changed) Modified: head/japanese/mailman/files/pkg-deinstall.in ============================================================================== --- head/japanese/mailman/files/pkg-deinstall.in Mon Mar 5 09:58:55 2018 (r463638) +++ head/japanese/mailman/files/pkg-deinstall.in Mon Mar 5 10:22:20 2018 (r463639) @@ -40,7 +40,6 @@ POST-DEINSTALL) echo "---> Starting post-deinstall script" # try to kill all empty directories - necessary on pkg_add-based systems - find "%%MAILMANDIR%%" -depth -type d -exec rmdir '{}' + >/dev/null 2>&1 || : if [ -d "%%MAILMANDIR%%" ]; then echo '---> %%MAILMANDIR%% is not empty - this installation may have active lists!' ls -lRB "%%MAILMANDIR%%" | head -n200 || : Modified: head/japanese/mailman/files/pkg-install.in ============================================================================== --- head/japanese/mailman/files/pkg-install.in Mon Mar 5 09:58:55 2018 (r463638) +++ head/japanese/mailman/files/pkg-install.in Mon Mar 5 10:22:20 2018 (r463639) @@ -16,6 +16,14 @@ POST-INSTALL) echo "---> Running update" + for DIR in logs archives lists locks data spam qfiles \ + archives/private archives/public + do + if [ ! -e "%%MAILMANDIR%%/$DIR" ]; then + /bin/mkdir -p "%%MAILMANDIR%%/$DIR" + fi + done + LC_ALL=C "%%MAILMANDIR%%/bin/update" || exit 1 echo "---> Checking crontab(5) file for user \"%%USER%%\""