1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Use pkg's ability to only print messages on removal instead of always

echoing a message.
This commit is contained in:
Baptiste Daroussin 2019-08-23 15:20:12 +00:00
parent 845d15899e
commit 3a16fb4115
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509650
2 changed files with 5 additions and 1 deletions

View File

@ -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
}
]

View File

@ -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%%