diff options
author | LOLi <[email protected]> | 2017-05-09 20:51:40 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-05-09 11:51:40 -0700 |
commit | 4e3de24b61b9116f0138d22ec687d0a759b29967 (patch) | |
tree | 5e49bb1fb52a5c9ba64f537cda4cb8d17d4abbd1 /rpm/redhat | |
parent | 3e2ecae01c6de6f885eca2ea78f00db2d21065ef (diff) |
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 <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #6108
Diffstat (limited to 'rpm/redhat')
0 files changed, 0 insertions, 0 deletions