1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net/silc-server/files/pkg-deinstall.in
Wesley Shields 082b4a7d8e Update to 1.1.1
Take maintainership.
Enable debugging (so silcd can generate better logs)
General cleanups.

Approved by:	garga (mentor)
2008-03-18 01:06:46 +00:00

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