summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst')
-rw-r--r--t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst
new file mode 100644
index 0000000..29e1861
--- /dev/null
+++ b/t/recipes/checks/control-files/legacy-binary/build-spec/debian/postinst
@@ -0,0 +1,6 @@
+#! /bin/bash -e
+
+if [ $1 eq 'configure' ]
+then
+ suidregister hello-static root root 4755
+fi