From 05a499482d24ed8105b74c13a8dbb8a7dda10538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 19 Dec 2017 17:31:32 +0100 Subject: [PATCH] fix failure of man-db-cache-update service when configured not to run - resolves: #1526715 --- man-db-cache-update.service | 2 +- man-db.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/man-db-cache-update.service b/man-db-cache-update.service index 4ca914f..dc218af 100644 --- a/man-db-cache-update.service +++ b/man-db-cache-update.service @@ -9,6 +9,6 @@ Type=oneshot TimeoutStartSec=infinity Environment=MAN_NO_LOCALE_WARNING=1 EnvironmentFile=/etc/sysconfig/man-db -ExecStart=/bin/sh -c '[ "$SERVICE" != "no" ] && /usr/bin/mandb $OPTS' +ExecStart=/bin/sh -c '[ "$SERVICE" != "no" ] && /usr/bin/mandb $OPTS || true' Nice=19 IOWeight=20 diff --git a/man-db.spec b/man-db.spec index 3a4af90..4673866 100644 --- a/man-db.spec +++ b/man-db.spec @@ -4,7 +4,7 @@ Summary: Tools for searching and reading man pages Name: man-db Version: 2.7.6.1 -Release: 9%{?dist} +Release: 10%{?dist} # GPLv2+ .. man-db # GPLv3+ .. gnulib License: GPLv2+ and GPLv3+ @@ -174,6 +174,10 @@ fi %config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron %changelog +* Tue Dec 19 2017 Nikola Forró - 2.7.6.1-10 +- fix failure of man-db-cache-update service when configured not to run + resolves: #1526715 + * Tue Nov 21 2017 Nikola Forró - 2.7.6.1-9 - allow configuration of man-db-cache-update service through sysconfig resolves: #1514909