freebsd-nq/rpm
LOLi fbd4254268 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 <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7074 
Closes #7100
2018-02-02 13:50:42 -08:00
..
generic Fix systemd_ RPM macros usage on Debian-based distributions 2018-02-02 13:50:42 -08:00
redhat Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00