zfs/rpm
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
..
generic Fix zfs .deb package warning in prerm script 2017-05-09 11:51:40 -07:00
redhat Fix powerpc build 2017-03-06 09:17:24 -08:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00