diff options
Diffstat (limited to '')
-rw-r--r-- | t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst new file mode 100644 index 0000000..7c5baf1 --- /dev/null +++ b/t/recipes/checks/fields/standards-version/legacy-scripts/build-spec/debian/postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -x "/etc/init.d/lsb-broken" ] ; then + update-rc.d lsb-broken defaults >/dev/null +fi +if [ -x "/etc/init.d/no-lsb" ] ; then + update-rc.d no-lsb defaults >/dev/null +fi +if [ -x "/etc/init.d/skeleton" ] ; then + update-rc.d skeleton defaults >/dev/null +fi +if [ -x "/etc/init.d/lsb-other" ] ; then + update-rc.d lsb-other defaults >/dev/null +fi |