Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 14:43:55 +0100
From:      Jeroen Ruigrok van der Werven <asmodai@bart.nl>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pkg_delete vs make deinstall
Message-ID:  <19991122144354.V22782@lucifer.bart.nl>
In-Reply-To: <Pine.BSF.4.02A.9911221322480.33699-100000@dogma.freebsd-uk.eu.org>; from jcm@dogma.freebsd-uk.eu.org on Mon, Nov 22, 1999 at 01:24:21PM %2B0000
References:  <Pine.BSF.4.02A.9911221322480.33699-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-On [19991122 14:30], Jonathon McKitrick (jcm@dogma.freebsd-uk.eu.org) wrote:
>What is the difference?  I have  a guess: make deinstall only works if
>there is a deinstall target in the makefile, while pkg_delete will simply
>erase all the files in the installation and remove it from the database,
>correct?

Almost.

If I remember correctly:

make deinstall simply uses pkg/PLIST to remove all the files and
directories needed for the program.

pkg_delete gets this info from /var/db/pkg/portname/+CONTENTS

So there is a difference in how the two work.

-- 
Jeroen Ruigrok van der Werven          Network- and systemadministrator
<asmodai@bart.nl>                      bART Internet Services /
Tel: +31 - (0) 10 - 240 39 70          VIA NET.WORKS Netherlands


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991122144354.V22782>