Bug#374457: [Pkg-shadow-devel] Bug#374457: passwd: postinstall install path does not exist
tags 374457 pending thanks install) [ x$2 = x ] shadowconfig on ;; esac exit 0 but install is not a documented argument to postinst (only preinst accepts it). This seems to have originated with the solution to #316219 and/or #319138. You might just use: [ -z $2 ] shadowconfig Just for the sake of it, I double-checked in the policy and I agree with you. Running shadowconfig each time the second argument of postinst is empty guarantees that it will be run only on first installs of the package. In short, I'm OK with the patch..:) signature.asc Description: Digital signature
Bug#374457: [Pkg-shadow-devel] Bug#374457: passwd: postinstall install path does not exist
On Tue, Jun 20, 2006 at 08:37:55AM +0200, Christian Perrier wrote: tags 374457 pending thanks install) [ x$2 = x ] shadowconfig on ;; esac exit 0 but install is not a documented argument to postinst (only preinst accepts it). This seems to have originated with the solution to #316219 and/or #319138. You might just use: [ -z $2 ] shadowconfig Just for the sake of it, I double-checked in the policy and I agree with you. Running shadowconfig each time the second argument of postinst is empty guarantees that it will be run only on first installs of the package. Unless it gets purged and later reinstalled :) This is actually slightly less hypothetical than one might think, because of Provides: Package: passwd-local Provides: passwd Conflicts: passwd Replaces: passwd [...] apt-get --purge install passwd-local passwd- Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#374457: [Pkg-shadow-devel] Bug#374457: passwd: postinstall install path does not exist
Just for the sake of it, I double-checked in the policy and I agree with you. Running shadowconfig each time the second argument of postinst is empty guarantees that it will be run only on first installs of the package. Unless it gets purged and later reinstalled :) Well, yes, but I don't see this as really a problem. signature.asc Description: Digital signature