aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/file.sh
blob: 2c5b982f1268bfd138224aa4e6eebb953aa2999d (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