freebsd-ports/irc/bopm/files/pkg-deinstall.in

18 lines
541 B
Text
Raw Normal View History

#!/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