diff options
Diffstat (limited to 'sysutils/LPRng/pkg-deinstall')
-rw-r--r-- | sysutils/LPRng/pkg-deinstall | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sysutils/LPRng/pkg-deinstall b/sysutils/LPRng/pkg-deinstall index 5a4422fbc496..9741d3044c16 100644 --- a/sysutils/LPRng/pkg-deinstall +++ b/sysutils/LPRng/pkg-deinstall @@ -2,15 +2,16 @@ PREFIX=/usr/local LPD_PATH="/usr/local/sbin/lpd" INSTALL="/usr/bin/install -c -o root -g wheel" -LPD_PERMS_PATH="/usr/local/etc/lpd.perms" -LPD_CONF_PATH="/usr/local/etc/lpd.conf" +LPD_PERMS_PATH="/usr/local/etc/lpd/lpd.perms" +LPD_CONF_PATH="/usr/local/etc/lpd/lpd.conf" PRINTCAP_PATH="/usr/local/etc/printcap" SYSCONFDIR=/usr/local/etc SBINDIR=/usr/local/sbin FILTER_DIR=/usr/local/libexec/filters LOCKFILE="/var/run/lpd" +CONFIG_SUBDIR=lpd PSHOWALL="-ax" -VERSION=3.8.21 +VERSION=3.8.23 INIT= MANDIR=/usr/local/man # @@ -24,5 +25,12 @@ if [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi if [ "X$2" = "XDEINSTALL" ] ; then echo "Stopping LPD" killall -INT lpd + if [ -f /etc/rc.conf ] ; then + perl -spi.bak -e '$_ = "" if( /lprng_enable/ );' ${DESTDIR}/etc/rc.conf + fi + init=/usr/local/etc/rc.d/lprng.sh + if [ -f $init ] ; then + rm -f $init + fi fi exit 0 |