Commit cc2e2701 authored by Seth Forshee's avatar Seth Forshee Committed by Juerg Haefliger

UBUNTU: [Packaging] fix invocation of header postinst hooks

BugLink: http://bugs.launchpad.net/bugs/1764794
OldBugLink: http://bugs.launchpad.net/bugs/1766391

There's a typo in the headers postinst which prevents triggering
of dkms builds on installation. Change this to use the correct
path, /etc/kernel/header_postinst.d.
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent e2a61337
...@@ -7,9 +7,9 @@ if [ "$1" != configure ]; then ...@@ -7,9 +7,9 @@ if [ "$1" != configure ]; then
exit 0 exit 0
fi fi
if [ -d /etc/kernel/headers_postinst.d ]; then if [ -d /etc/kernel/header_postinst.d ]; then
DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \ DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \
/etc/kernel/headers_postinst.d /etc/kernel/header_postinst.d
fi fi
exit 0 exit 0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment