Re: prerm/postinst scripts failing silently(?)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Serafeim Zanikolas schrieb:
> Hi all,
>
> I'm adopting a package that produces several binaries, and I need to adapt it
> so that every binary will have its own prerm and postinst scripts (issue
> #315318). I tried calling the scripts debian/binaryX.{prerm,postinst}, but
> they seem to be ignored when installing the binary packages (postinst calls
> update-alternatives but there is no sign of it actually being called), and I
> don't see any error messages when installing the package by hand). Attached
> are the scripts for one of the binaries.
>
> Any hints on how I could debug this?
Short answer:
Try it with set -x instead of e
- --
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
E-Mail: pmatthaei@debian.org
patrick@linux-dev.org
Comment:
Always if we think we are right,
we were maybe wrong.
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoGp7QACgkQ2XA5inpabMfCKQCgnyPUxcU2EvQAfHONE0STdEFf
+Q0AnAiCCtdB4KMqveeB5mfdHxpZ+XpL
=Ps4l
-----END PGP SIGNATURE-----
Reply to: