summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.am2
-rwxr-xr-xscripts/dkms.mkconf2
-rwxr-xr-xscripts/dkms.postbuild (renamed from scripts/dkms.postinst)0
3 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 7894db49e..6869aa67c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,6 +1,6 @@
SUBDIRS = zpool-config zpios-test zpios-profile
-EXTRA_DIST = dkms.mkconf dkms.postinst kmodtool zfs2zol-patch.sed cstyle.pl
+EXTRA_DIST = dkms.mkconf dkms.postbuild kmodtool zfs2zol-patch.sed cstyle.pl
pkgdatadir = $(datadir)/@PACKAGE@
dist_pkgdata_SCRIPTS = \
diff --git a/scripts/dkms.mkconf b/scripts/dkms.mkconf
index ecdee717f..dde8ee8cb 100755
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -47,7 +47,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
index 3cbc7c7ce..3cbc7c7ce 100755
--- a/scripts/dkms.postinst
+++ b/scripts/dkms.postbuild