Commit 19d35412 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed find path

parent 5d2ca06d
all: all:
tar xf man-db-2.9.2.tar.xz tar xf man-db-2.9.2.tar.xz
patch -Np1 -d man-db-2.9.2 < man-db-2.9.2-fix_find_location.patch
cd man-db-2.9.2 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/man-db-2.9.2 --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap cd man-db-2.9.2 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --docdir=/usr/share/doc/man-db-2.9.2 --sysconfdir=/etc --disable-setuid --enable-cache-owner=bin --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind --with-grap=/usr/bin/grap
$(MAKE) -C man-db-2.9.2 $(MAKE) -C man-db-2.9.2
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \ if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
......
diff -uNr man-db-2.9.2/init/systemd/man-db.service.in man-db-2.9.2-fix_find_location/init/systemd/man-db.service.in
--- man-db-2.9.2/init/systemd/man-db.service.in 2020-01-02 01:41:59.000000000 +1030
+++ man-db-2.9.2-fix_find_location/init/systemd/man-db.service.in 2022-02-01 19:18:31.414052273 +1030
@@ -8,7 +8,7 @@
# Recover from deletion, per FHS.
ExecStart=+/usr/bin/install -d -o @cache_top_owner@ -g @cache_top_owner@ -m 0755 /var/cache/man
# Expunge old catman pages which have not been read in a week.
-ExecStart=/usr/bin/find /var/cache/man -type f -name *.gz -atime +6 -delete
+ExecStart=/bin/find /var/cache/man -type f -name *.gz -atime +6 -delete
# Regenerate man database.
ExecStart=@bindir@/mandb --quiet
User=@cache_top_owner@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment