mirror_zfs/rpm
loli10K 9f261b1be6 Fix zfs-dkms .deb package warning in prerm script
Debian zfs-dkms package generated by alien doesn't call the prerm script
(rpm's %preun) with an integer as first parameter, which results in the
following warning when the package is uninstalled:

   "zfs-dkms.prerm: line 3: [: remove: integer expression expected"

Modify the if-condition to avoid the warning.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9271
2019-09-25 11:27:51 -07:00
..
generic Fix zfs-dkms .deb package warning in prerm script 2019-09-25 11:27:51 -07:00
redhat kmod-zfs-devel rpm should provide kmod-spl-devel 2019-09-25 11:27:47 -07:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00