Date: Fri, 23 Aug 2019 15:23:43 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509651 - in head/devel/websvn: . files Message-ID: <201908231523.x7NFNhAp068203@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Aug 23 15:23:43 2019 New Revision: 509651 URL: https://svnweb.freebsd.org/changeset/ports/509651 Log: Use pkg's ability to only print messages on removal instead of always echoing a message. Modified: head/devel/websvn/files/pkg-message.in head/devel/websvn/pkg-plist Modified: head/devel/websvn/files/pkg-message.in ============================================================================== --- head/devel/websvn/files/pkg-message.in Fri Aug 23 15:20:12 2019 (r509650) +++ head/devel/websvn/files/pkg-message.in Fri Aug 23 15:23:43 2019 (r509651) @@ -7,5 +7,10 @@ To setup WebSVN, please edit the configuration file: and modify your web server's configuration to serve WebSVN actually! EOM +}, +{ type: remove + message: <<EOM +Consider deleting %%PREFIX%%/%%ETCDIR%%! +EOM } ] Modified: head/devel/websvn/pkg-plist ============================================================================== --- head/devel/websvn/pkg-plist Fri Aug 23 15:20:12 2019 (r509650) +++ head/devel/websvn/pkg-plist Fri Aug 23 15:23:43 2019 (r509651) @@ -212,6 +212,5 @@ %%WWWDIR%%/templates/calm/revision.tmpl %%WWWDIR%%/templates/calm/styles.css @sample %%WWWDIR%%/templates/calm/user_greeting.tmpl %%WWWDIR%%/templates/calm/user_greeting.tmpl.sample -@postunexec echo "==> If your are permanently removing this package consider deleting %%PREFIX%%/%%ETCDIR%%!" @dir(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/subversion @dir %%ETCDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908231523.x7NFNhAp068203>