diff --git a/docs/packages/bzip2/postinstall b/docs/packages/bzip2/postinstall index a5e964ec..f73d34cc 100644 --- a/docs/packages/bzip2/postinstall +++ b/docs/packages/bzip2/postinstall @@ -1,6 +1,9 @@ +cp -av libbz2.so.* /usr/lib +ln -sv libbz2.so.1.0.8 /usr/lib/libbz2.so + cp -v bzip2-shared /usr/bin/bzip2 -cp -av libbz2.so* /usr/lib -ln -sv libbz2.so.1.0 /usr/lib/libbz2.so -rm -v /usr/bin/{bunzip2,bzcat} -ln -sv bzip2 /usr/bin/bunzip2 -ln -sv bzip2 /usr/bin/bzcat +for i in /usr/bin/{bzcat,bunzip2}; do + ln -sfv bzip2 $i +done + +rm -fv /usr/lib/libbz2.a \ No newline at end of file