Package contents should be deterministic
Don't allow the contents of the swtpm-tools package vary depending on
whether a particular binary exists as part of the build output. It either
should be built and always included, or never included.
diff --git a/debian/swtpm-tools.install b/debian/swtpm-tools.install
old mode 100755
new mode 100644
index 81d038d..94d91ca
--- a/debian/swtpm-tools.install
+++ b/debian/swtpm-tools.install
@@ -1,9 +1,8 @@
-#!/bin/sh
-cat <<_EOF_
/etc/swtpm-localca.conf
/etc/swtpm-localca.options
/etc/swtpm_setup.conf
/usr/bin/swtpm_bios
+/usr/bin/swtpm_cert
/usr/bin/swtpm_ioctl
/usr/bin/swtpm_localca
/usr/bin/swtpm_setup
@@ -19,8 +18,3 @@
/usr/share/man/man5/swtpm_setup.conf.5*
/usr/share/swtpm/swtpm-create-tpmca
/usr/share/swtpm/swtpm-create-user-config-files
-/usr/share/swtpm/swtpm-localca
-_EOF_
-if test -n "$(find $(dirname "$0")/tmp -name swtpm_cert)"; then
-echo "/usr/bin/swtpm_cert"
-fi