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:23:43 +00:00
parent 3a16fb4115
commit 3717c1c97d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509651
2 changed files with 5 additions and 1 deletions

View File

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

View File

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