From: Al Nikolov Date: Fri, 21 Oct 2016 05:55:06 +0000 (+0800) Subject: Restore the compatibility to dkms < 2.2.0.3-3 (Closes: #838706) X-Git-Tag: debian/0.7.9-2~33 X-Git-Url: https://git.proxmox.com/?p=mirror_spl-debian.git;a=commitdiff_plain;h=6e662d5ae1b526030f607ffbf7fb2978e659743e Restore the compatibility to dkms < 2.2.0.3-3 (Closes: #838706) --- diff --git a/debian/dkms b/debian/dkms index cd477ca..82d8298 100644 --- a/debian/dkms +++ b/debian/dkms @@ -25,6 +25,7 @@ POST_BUILD="cp ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/module/Module.symvers ${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/${kernelver}/${arch}/ " +[ -d "${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build" ] && POST_INSTALL=${POST_BUILD} REMAKE_INITRD="no" MAKE[0]="make" BUILT_MODULE_NAME[0]="spl"