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