From owner-freebsd-questions Mon Nov 22 5:46:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from lucifer.bart.nl (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id 26D2A14C3A for ; Mon, 22 Nov 1999 05:46:40 -0800 (PST) (envelope-from asmodai@lucifer.bart.nl) Received: (from asmodai@localhost) by lucifer.bart.nl (8.9.3/8.9.3) id OAA36897; Mon, 22 Nov 1999 14:43:55 +0100 (CET) (envelope-from asmodai) Date: Mon, 22 Nov 1999 14:43:55 +0100 From: Jeroen Ruigrok van der Werven To: Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pkg_delete vs make deinstall Message-ID: <19991122144354.V22782@lucifer.bart.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from jcm@dogma.freebsd-uk.eu.org on Mon, Nov 22, 1999 at 01:24:21PM +0000 Organisation: bART Internet Services B.V. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -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 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