Hi!

On Wed, 20 Jul 2005 09:07:12 +0200
 Christian Perrier <[EMAIL PROTECTED]> wrote:
Quoting Marc Haber ([EMAIL PROTECTED]):
/var/lib/dpkg/tmp.ci/preinst: line 33: shadowconfig: command not found
...
The point of this fix was activating shadow passwords on *new* installs and, because of the above, this completely fails its goals...

As the point was running "shadowconfig on" on new installs, the best way to handle this is moving the "shadowconfig on" line to postinst rather than preinst and run it only when the script is run with
"install" as argument (not with "reconfigure").

Comments?

Not run shadowconfig in preinst but in postinst?
BTW, maybe we should also move as much as possible from preinst?

P.S. Sorry for ugly quoting -- my mail www interface sucks :-/
--
WBR,
xrgtn


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to