X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=packaging%2Fdeb%2Fbuildpkg;fp=packaging%2Fdeb%2Fbuildpkg;h=69889a9c7387aa6db6488fe333d800f7a6cb6464;hb=109540caa4e37a3663b3dcfb9a205b9609e3f561;hp=516d1d96bb1247557376e78a58eb67eaae72c83f;hpb=4c9eba1feb11adf189bceb4001c425e641f0b56a;p=debian%2Famanda diff --git a/packaging/deb/buildpkg b/packaging/deb/buildpkg index 516d1d9..69889a9 100755 --- a/packaging/deb/buildpkg +++ b/packaging/deb/buildpkg @@ -51,7 +51,14 @@ do_substitute() { # dpkg assumes that packages will have the same name on all releases and # that apt will prevent users from downloading the wrong build. We want # this information helpfully obvious since we can't rely on apt. - /usr/bin/perl packaging/common/substitute.pl packaging/deb/changelog.src packaging/deb/changelog + file_list="packaging/deb/changelog \ + packaging/deb/postinst \ + packaging/deb/postrm \ + packaging/deb/preinst" + for file in ${file_list}; do + /usr/bin/perl packaging/common/substitute.pl \ + ${file}.src ${file} || exit 1 + done } do_resources() {