ports/comms/smstools3/files/pkg-deinstall.in
Guido Falsi 09d358dd31 - Convert to staging
- Convert to USES
- Use shebangfix where necessary
- Move most @exec/@unexec commands from plist to pkg-install/pkg-deinstall
  scripts
- Make rclint somewhat happier
- Convert to new LIB_DEPENDS format
- Strip binaries
- Take maintainership
2013-10-22 14:54:01 +00:00

17 lines
512 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
if [ "x$2" = "xPOST-DEINSTALL" ]; then
rmdir %%SPOOLDIR%%/incoming %%SPOOLDIR%%/outgoing \
%%SPOOLDIR%%/checked %%SPOOLDIR%% %%LOGDIR%% %%PIDDIR%% \
2>/dev/null || true
echo
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
echo "If you are permanently removing smstools, you should also:" | /usr/bin/fmt
echo "'rm -rf %%SPOOLDIR%%'"
echo "'rm -rf %%LOGDIR%%'"
echo "'rm -rf %%PIDDIR%%'"
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
fi