diff options
Diffstat (limited to 'chapter8/file.sh')
-rw-r--r-- | chapter8/file.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter8/file.sh b/chapter8/file.sh new file mode 100644 index 0000000..343b08b --- /dev/null +++ b/chapter8/file.sh @@ -0,0 +1,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 |