aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/XFree86-aoutlibs/pkg-deinstall
blob: 6e8d9f297d47380821844fa6690745a92c4b0603 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ "$2" = "DEINSTALL" ]; then
  exit 0
fi

AOUTLIBSDIR=${PKG_PREFIX}/lib/aout

for old in libX11.so.6.1 liboldX.so.6.0 libICE.so.6.3 libSM.so.6.0 \
        libXext.so.6.3 libXt.so.6.0 libXmu.so.6.0 libXaw.so.6.1 \
        libXIE.so.6.0 libXi.so.6.0 libXtst.so.6.1 libPEX5.so.6.0 \
        libXp.so.6.2; do
    mv -f ${AOUTLIBSDIR}/X333/${old} ${AOUTLIBSDIR}
done

rmdir ${PKG_PREFIX}/lib/aout/X333 2>/dev/null || true
/usr/bin/env OBJFORMAT=aout /sbin/ldconfig -R