aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/file.sh
blob: 56e9aabcb80b67f0def7404f282b577382fa5da4 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -e

./configure --prefix=/usr
make
make -j1 install

mv -v /usr/lib/libmagic.so.* /lib
ln -sfv ../../lib/"$(readlink /usr/lib/libmagic.so)" /usr/lib/libmagic.so