summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-02-25 12:39:01 +0100
committerHolger Paradies <retabell@gmx.de>2024-02-25 12:39:01 +0100
commit3eeb861940a51d94a5e16745fb30d5d12b96e630 (patch)
treed59756dbabb77b460a161c847fa473b6f77e15ea /config
parent332ad4c690acc4e2964ce0291bcc4ef3efd87163 (diff)
downloadkanotix-3eeb861940a51d94a5e16745fb30d5d12b96e630.zip
kanotix-3eeb861940a51d94a5e16745fb30d5d12b96e630.tar.gz
Disable mandb update in live-mode
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/9010-hotfixes6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-includes/lib/live/config/9010-hotfixes b/config/chroot_local-includes/lib/live/config/9010-hotfixes
index 9b738cc..125a403 100755
--- a/config/chroot_local-includes/lib/live/config/9010-hotfixes
+++ b/config/chroot_local-includes/lib/live/config/9010-hotfixes
@@ -104,6 +104,12 @@ if [ -x /usr/sbin/update-apt-xapian-index ]; then
chmod -x /usr/sbin/update-apt-xapian-index
fi
+# disable mandb in live mode
+if [ -x /usr/bin/mandb ]; then
+ #chmod -x /usr/bin/mandb
+ rm -f /var/lib/man-db/auto-update
+fi
+
touch /var/lib/live/config/hotfixes
}