Add 8.30 - Build psmisc

This commit is contained in:
Aditya 2023-01-11 15:33:28 +05:30
parent ae7aaf3463
commit 88d20f392d
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#!/bin/bash
cd /sources
tar xf psmisc-23.5.tar.xz
cd psmisc-23.5
./configure --prefix=/usr
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install
cd /sources
rm -rf psmisc-23.5

View file

@ -894,3 +894,15 @@ then
stop_script "chapter8/8.29-sed.sh"
fi
# Chapter 8.30
# ============
echo "Building psmisc"
su -c "bash $SCRIPT/chapter8/8.30-psmisc.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.30-psmisc.sh"
fi