diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 4c0d7ba4042f..f146ec6e674a 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = check.sh dkms.mkconf dkms.postinst kmodtool +EXTRA_DIST = check.sh dkms.mkconf dkms.postbuild kmodtool check: $(top_srcdir)/scripts/check.sh diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf index f9cf69692722..2fa3dd2b41e7 100755 --- a/scripts/dkms.mkconf +++ b/scripts/dkms.mkconf @@ -56,7 +56,7 @@ PRE_BUILD="configure } ) " -POST_INSTALL="scripts/dkms.postinst +POST_BUILD="scripts/dkms.postbuild -n \${PACKAGE_NAME} -v \${PACKAGE_VERSION} -a \${arch} diff --git a/scripts/dkms.postinst b/scripts/dkms.postbuild similarity index 100% rename from scripts/dkms.postinst rename to scripts/dkms.postbuild