mirror_zfs/rpm/generic
LOLi 4e3de24b61 Fix zfs .deb package warning in prerm script
Debian zfs 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:

   "zfs.prerm: line 2: [: remove: integer expression expected"

Modify the if-condition to avoid the warning.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6108
2017-05-09 11:51:40 -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 uninstall/update 2015-10-02 11:19:25 -07:00
zfs-kmod.spec.in Fix powerpc build 2017-03-06 09:17:24 -08:00
zfs.spec.in Fix zfs .deb package warning in prerm script 2017-05-09 11:51:40 -07:00