mirror_zfs/rpm/generic
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
..
.gitignore Refresh RPM packaging 2013-03-18 15:33:17 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:33:17 -07:00
zfs-dkms.spec.in Fix zfs-dkms .deb package warning in prerm script 2019-09-03 15:20:39 -07:00
zfs-kmod.spec.in Fix systemd spec file macros 2018-11-11 18:06:36 -08:00
zfs.spec.in initramfs: fixes for (debian) initramfs 2019-08-16 09:02:32 -06:00