hooks/xbps-metadata: only add systemd-service trigger if the buildopt is set.
This commit is contained in:
parent
ea01ed96fb
commit
a56b465f1e
1 changed files with 19 additions and 17 deletions
|
@ -119,6 +119,7 @@ _EOF
|
|||
#
|
||||
# Handle systemd services.
|
||||
#
|
||||
if [ -n "$build_option_systemd" ]; then
|
||||
if [ -n "${systemd_services}" ]; then
|
||||
_add_trigger systemd-service
|
||||
echo "export systemd_services=\"${systemd_services}\"" >> $tmpf
|
||||
|
@ -137,6 +138,7 @@ _EOF
|
|||
_add_trigger systemd-service
|
||||
echo "export systemd_modules=\"${_mods}\"" >> $tmpf
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Handle GNU Info files.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue