From 1a56d1f4c13ac7ab7ad047b9cbc8dc63cfd2494f Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 20 Oct 2001 11:08:44 +0000 Subject: Remove user deleting from here, it still needed for drweb sub-port --- security/drweb-sendmail/Makefile | 2 +- security/drweb-sendmail/pkg-deinstall | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 security/drweb-sendmail/pkg-deinstall (limited to 'security/drweb-sendmail') diff --git a/security/drweb-sendmail/Makefile b/security/drweb-sendmail/Makefile index 0affc10fae0e..a40d665f2f47 100644 --- a/security/drweb-sendmail/Makefile +++ b/security/drweb-sendmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= drweb_sendmail PORTVERSION= 4.26 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= security mail MASTER_SITES= http://www.drweb.ru/ftp/web_pub/ DISTNAME= drwebd-${PORTVERSION}-freebsd4 diff --git a/security/drweb-sendmail/pkg-deinstall b/security/drweb-sendmail/pkg-deinstall deleted file mode 100644 index fe71e9e62b5e..000000000000 --- a/security/drweb-sendmail/pkg-deinstall +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# $FreeBSD$ -# - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -USER=drweb -ex=0 - -if pw usershow "${USER}" 2>/dev/null 1>&2; then - if pw userdel ${USER}; then - echo "Delete user/group \"${USER}\"." - else - echo "Deleting user/group \"${USER}\" failed..." - ex=1 - fi -fi - -[ "$ex" = "1" ] && exit 1 -exit 0 -- cgit v1.2.3