blob: 13214e88da494e351ac197af107d5ab7c62d38c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
set -e
# only update manual page index caches when manual files are built and installed
if false; then
if test -n "$D"; then
if true; then
sed "s:\(\s\)/:\1$D/:g" $D/etc/man_db.conf | PSEUDO_UNLOAD=1 qemu-aarch64 -r 3.14 -L $D -E LD_LIBRARY_PATH=$D/usr/lib:$D/lib $D/usr/bin/mandb -C - -u -q $D/usr/share/man
chown -R root:root $D/usr/share/man
mkdir -p $D/var/cache/man
cd $D/usr/share/man
find . -name index.db | while read index; do
mkdir -p $D/var/cache/man/$(dirname ${index})
mv ${index} $D/var/cache/man/${index}
chown man:man $D/var/cache/man/${index}
done
cd -
else
$INTERCEPT_DIR/postinst_intercept delay_to_first_boot libpsl-doc mlprefix=
fi
else
mandb -q
fi
fi
|