mirror_zfs/rpm/generic
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
..
.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-25 11:27:51 -07:00
zfs-kmod.spec.in Fix systemd spec file macros 2018-11-11 18:06:36 -08:00
zfs.spec.in New service that waits on zvol links to be created 2019-09-25 11:27:51 -07:00