Date: Fri, 23 Aug 2019 15:20:12 +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: r509650 - in head/devel/nexus2-oss: . files Message-ID: <201908231520.x7NFKCvb062521@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Aug 23 15:20:12 2019 New Revision: 509650 URL: https://svnweb.freebsd.org/changeset/ports/509650 Log: Use pkg's ability to only print messages on removal instead of always echoing a message. Modified: head/devel/nexus2-oss/files/pkg-message.in head/devel/nexus2-oss/pkg-plist Modified: head/devel/nexus2-oss/files/pkg-message.in ============================================================================== --- head/devel/nexus2-oss/files/pkg-message.in Fri Aug 23 14:24:46 2019 (r509649) +++ head/devel/nexus2-oss/files/pkg-message.in Fri Aug 23 15:20:12 2019 (r509650) @@ -31,5 +31,10 @@ Documentation Further documentation can be found in the official Nexus Book at: https://books.sonatype.com/nexus-book/%%BOOKVERSION%%/reference/index.html EOM +}, +{ type: remove + message: <<EOM +Consider deleting %%RUNDIR%%, %%LOGDIR%% and %%WORKDIR%% manually!" +EOM } ] Modified: head/devel/nexus2-oss/pkg-plist ============================================================================== --- head/devel/nexus2-oss/pkg-plist Fri Aug 23 14:24:46 2019 (r509649) +++ head/devel/nexus2-oss/pkg-plist Fri Aug 23 15:20:12 2019 (r509650) @@ -318,7 +318,6 @@ %%DATADIR%%/nexus/images/header_branding.png %%DATADIR%%/nexus/images/nexus650x55.png %%DATADIR%%/nexus/robots.txt -@postunexec echo "==> If your are permanently removing this package consider deleting %%RUNDIR%%, %%LOGDIR%%, and %%WORKDIR%% manually!" @dir(%%USER%%,%%GROUP%%,750) %%RUNDIR%% @dir(%%USER%%,%%GROUP%%,750) %%LOGDIR%% @dir(%%USER%%,%%GROUP%%,750) %%WORKDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908231520.x7NFKCvb062521>