1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
post_install() { if [ -x /sbin/ldconfig ]; then /sbin/ldconfig /usr/lib32 fi } post_upgrade() { if [ -x /sbin/ldconfig ]; then /sbin/ldconfig /usr/lib32 fi } post_remove() { if [ -x /sbin/ldconfig ]; then /sbin/ldconfig /usr/lib32 fi for LIBS in "libcnbpcnclapicom" "libcnnet"; do if [ -h /usr/lib32/${LIBS}.so ]; then rm -f /usr/lib32/${LIBS}.so fi done }