From 7ab073fce7d94ff29e7df69b294e7658652c5edb Mon Sep 17 00:00:00 2001 From: Linuxoid85 Date: Sun, 17 Apr 2022 19:08:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=BE=D0=B5=20=D0=B8?= =?UTF-8?q?=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?postinstall=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/packages/bzip2/postinstall | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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