diff options
Diffstat (limited to '')
2 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst new file mode 100644 index 0000000..690173c --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] && which bar 2>/dev/null >/dev/null; then + bar configure +fi + +#DEBHELPER# diff --git a/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm new file mode 100644 index 0000000..a166618 --- /dev/null +++ b/t/recipes/checks/control-files/control-files-classifications-ctrl-script/build-spec/debian/prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ] && which bar 2>/dev/null >/dev/null; then + bar remove +fi + +#DEBHELPER# |