Subject: Re: pkg/30347: +DEINSTALL scripts are incomplete
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 05/27/2005 01:04:02
The following reply was made to PR pkg/30347; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30347: +DEINSTALL scripts are incomplete
Date: Thu, 26 May 2005 18:02:57 -0700 (PDT)
> >Fix:
> Maybe pkg_install/files/create/perform.c should also tar up:
> +DIRS
> +FILES
> +PERMS
> +RCD_SCRIPTS
> +USERGROUP
>
> Or maybe the +DEINSTALL scripts also generate the needed +DIRS,
> +FILES, +PERMS, +RCD_SCRIPTS, and/or +USERGROUP scripts.
Or a third idea:
Save the needed +DIRS, +FILES, +PERMS, +RCD_SCRIPTS, and/or +USERGROUP
scripts in the ${_PKG_DBDIR}/${PKGNAME} (aka PKG_METADATA_DIR) at +INSTALL
time so they can be used for the +DEINSTALL later.
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/