aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/file.sh
blob: 2c0622ca3265c4e15cfea2e4f19cc101008e8e12 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

./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