mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
082b4a7d8e
Take maintainership. Enable debugging (so silcd can generate better logs) General cleanups. Approved by: garga (mentor)
21 lines
437 B
Bash
21 lines
437 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
KEY_FILES="silcd.prv silcd.pub"
|
|
|
|
case "$2" in
|
|
POST-DEINSTALL)
|
|
if [ -f %%PREFIX%%/etc/silc/silcd.prv -o -f %%PREFIX%%/etc/silc/silcd.pub ]; then
|
|
echo "$1: The following files were left behind:"
|
|
for key_file in ${KEY_FILES}
|
|
do
|
|
[ -f %%PREFIX%%/etc/silc/${key_file} ] && echo "%%PREFIX%%/etc/silc/${key_file}"
|
|
done
|
|
echo "$1: If this port is not used anymore please remove them."
|
|
fi
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
exit
|