diff options
author | LOLi <[email protected]> | 2018-02-02 22:50:42 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-02-02 13:50:42 -0800 |
commit | fbd42542686af053f0d162ec4630ffd4fff1cc30 (patch) | |
tree | a3ada75c16128038832ffa4b1afcc4b6564af8b6 /module/zfs/dsl_crypt.c | |
parent | 1b66810bad0a893031c6d49613aa83dc359bf034 (diff) |
Fix systemd_ RPM macros usage on Debian-based distributions
Debian-based distributions do not seem to provide RPM macros for
dealing with systemd pre- and post- (un)install actions: this results
in errors when installing or upgrading .deb packages because the
resulting control scripts contain the following unresolved macros:
* %systemd_post
* %systemd_preun
* %systemd_postun
Fix this by providing default values for postinstall, preuninstall and
postuninstall scripts when these macros are not defined.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #7074
Closes #7100
Diffstat (limited to 'module/zfs/dsl_crypt.c')
0 files changed, 0 insertions, 0 deletions