summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-20 14:32:34 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-20 14:32:34 +0000
commit37d0b86bafa0808c1273763d0375b78a6777c50d (patch)
treed2657dcc56b524d728b1385560441fb5efdbea39
parent097553cbd9517514bdc6f9c56e4f7fc4a578281d (diff)
downloaddraklive-config-37d0b86bafa0808c1273763d0375b78a6777c50d.tar
draklive-config-37d0b86bafa0808c1273763d0375b78a6777c50d.tar.gz
draklive-config-37d0b86bafa0808c1273763d0375b78a6777c50d.tar.bz2
draklive-config-37d0b86bafa0808c1273763d0375b78a6777c50d.tar.xz
draklive-config-37d0b86bafa0808c1273763d0375b78a6777c50d.zip
Update man-db cache after packages have been installed.
man-db file triggers now use systemd-run, which doesn't work when installing in a chroot.
-rw-r--r--config/build.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 7c1f421..fcbbb8d 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -296,6 +296,11 @@ my $config = {
# Now update the cache for the new timestamps.
"fc-cache -rf",
+ # The man-db transfiletriggerin scriplet requires systemd, so will
+ # have silently failed when run in a chroot. So the man-db cache
+ # will not have been updated. Do it now.
+ "mandb -q",
+
# Set the initial wireless regulatory domain to "world", enabling
# all possible wireless channels to be used.
"sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",