[PD-dev] pd-extended exectuable - packaging for Debian
zmoelnig at iem.at
zmoelnig at iem.at
Tue Aug 13 02:59:50 CEST 2013
Quoting Kaj Ailomaa <zequence at mousike.me>:
> I solve it by using a postinst script to rename the two files that
> shouldn't.
this is most likely the wrong approach.
"postinst" is running on the target system, so instead of renaming the
file *once* during the build process, you will rename it thousands of
times (on each installation).
this also means that you double your chance of creating package
collision and circumvent any security measures of the package manager
(e.g. apt keeps track of the installed files - but it defers that
information from the list of files in the .deb rather than checking
which files have been installed after running postinst)
mzdxsf
IOhannes
More information about the Pd-dev
mailing list