mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
1af9d66933
- 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)
18 lines
541 B
Bash
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
|