Add 8.71 - Build man-db

This commit is contained in:
Aditya 2023-01-12 19:48:49 +05:30
parent 84ee287484
commit 135b1c88a3
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,35 @@
#!/bin/bash
cd /sources
tar xf man-db-2.10.2.tar.xz
cd man-db-2.10.2
./configure --prefix=/usr \
--docdir=/usr/share/doc/man-db-2.10.2 \
--sysconfdir=/etc \
--disable-setuid \
--enable-cache-owner=bin \
--with-browser=/usr/bin/lynx \
--with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap \
--with-systemdtmpfilesdir= \
--with-systemdsystemunitdir=
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf man-db-2.10.2

View file

@ -1390,3 +1390,15 @@ then
stop_script "chapter8/8.70-eudev.sh" stop_script "chapter8/8.70-eudev.sh"
fi fi
# Chapter 8.71
# ============
echo "Building man-db"
su -c "bash $SCRIPT/chapter8/8.71-man-db.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.71-man-db.sh"
fi