mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
- 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
17 lines
512 B
Bash
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
|