zfs/rpm
loli10K a49dbbbe06 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-03 15:20:39 -07:00
..
generic Fix zfs-dkms .deb package warning in prerm script 2019-09-03 15:20:39 -07:00
redhat kmod-zfs-devel rpm should provide kmod-spl-devel 2019-06-19 11:44:44 -07:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00