1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/irc/bopm/files/pkg-deinstall.in
Pav Lucistnik 1af9d66933 - Update to rc_subr startup script
- Clean up REINPLACE_CMD usage
- Use SUB_FILES
- Deal with bopm.conf properly
- Now uses /var/log/bopm for pid and logs, and more

PR:		ports/103555
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by:	maintainer timeout (1 month)
2006-10-31 12:00:37 +00:00

18 lines
541 B
Bash

#!/bin/sh
#-----------------------------------------------------------------------
if [ "x$2" = "xPOST-DEINSTALL" ]; then
#-----------------------------------------------------------------------
if [ -d %%LOGDIR%% ]
then
rm -f %%LOGDIR%%/bopm.pid 2>/dev/null
rmdir %%LOGDIR%% 2>/dev/null || echo "The logs in %%LOGDIR%% will remain untouched after the port is deinstalled."
fi
#-----------------------------------------------------------------------
fi
#-----------------------------------------------------------------------
exit 0