Only enable dbus-daemon on fedora-29

Previously we were trying to enable dbus-daemon service on all prior to
fedora 30. Unfortunately 28 and older don't have this service so this
broke those releases and only worked for 29. Fix this by only enabling
this service on fedora 29.

Change-Id: I1bd15dcf0bbe270afccb0c0c3ea6ad08862a53f1
This commit is contained in:
Clark Boylan 2019-07-12 10:21:49 -07:00
parent 709c9e70c9
commit abb6aed459

View File

@ -23,6 +23,6 @@ set -o pipefail
# Ensure that dbus-daemon is enabled; fedora 30 and above has switched to
# dbus-broker.
if [[ ${DISTRO_NAME} == 'fedora' && ${DIB_RELEASE} -le 29 ]]; then
if [[ ${DISTRO_NAME} == 'fedora' && ${DIB_RELEASE} -eq 29 ]]; then
systemctl --no-reload enable dbus-daemon.service
fi