Skip to content
Snippets Groups Projects
Commit 7f7b6399 authored by baptiste daroussin's avatar baptiste daroussin
Browse files

security/cvechecker: use pkg-message to show message on remove

parent 47d42875
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,8 @@ LIB_DEPENDS= libargp.so:devel/argp-standalone \
RUN_DEPENDS= bash:shells/bash
MAKE_ENV+= LDADD=-largp
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
USES= autoreconf pkgconfig shebangfix
......
#!/bin/sh
PORTNAME=${1%-*}
[ "$2" = DEINSTALL ] && cat <<***EOM
[
{ type : remove
message: <<EOM
------------------------------------------------------------------------------
If you are no longer using the $PORTNAME port, then manually delete
If you are no longer using the %%PORTNAME%% port, then manually delete
the following directory and all its contents:
/var/db/$PORTNAME
/var/db/%%PORTNAME%%
------------------------------------------------------------------------------
***EOM
exit 0
EOM
}
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment