lfs-scripts/scripts/chapter8/8.40-less.sh
2023-01-12 11:37:15 +05:30

24 lines
226 B
Bash

#!/bin/bash
cd /sources
tar xf less-590.tar.gz
cd less-590
./configure --prefix=/usr --sysconfdir=/etc
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make install
cd /sources
rm -rf less-590