Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > 58d39f609c4688d1de8dda0863c4d011 > scriptlet

pango-1.28.1-5.fc14.i686.rpm

POSTIN

/bin/sh
/sbin/ldconfig

umask 0022
# Deriving /etc/pango/$host location
#
# autoconf changes linux to linux-gnu
case "i386-redhat-linux-gnu" in
  *linux) host="i386-redhat-linux-gnu-gnu"
  ;;
  *) host="i386-redhat-linux-gnu"
  ;;
esac

# autoconf uses powerpc not ppc
host=`echo $host | sed "s/^ppc/powerpc/"`
# autoconf uses ibm-linux not redhat-linux on s390x
host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"`

case "$host" in
  alpha*|ia64*|powerpc64*|s390x*|sparc64*|x86_64*)
   /usr/bin/pango-querymodules-64 > /etc/pango/$host/pango.modules
   ;;
  *)
   /usr/bin/pango-querymodules-32 > /etc/pango/$host/pango.modules
   ;;
esac

POSTUN

/bin/sh
/sbin/ldconfig

if test $1 -gt 0; then

umask 0022
# Deriving /etc/pango/$host location
#
# autoconf changes linux to linux-gnu
case "i386-redhat-linux-gnu" in
  *linux) host="i386-redhat-linux-gnu-gnu"
  ;;
  *) host="i386-redhat-linux-gnu"
  ;;
esac

# autoconf uses powerpc not ppc
host=`echo $host | sed "s/^ppc/powerpc/"`
# autoconf uses ibm-linux not redhat-linux (s390x)
host=`echo $host | sed "s/^s390\(x\)*-redhat/s390\1-ibm/"`

case "$host" in
  alpha*|ia64*|powerpc64*|s390x*|sparc64*|x86_64*)
   /usr/bin/pango-querymodules-64 > /etc/pango/$host/pango.modules || :
   ;;
  *)
   /usr/bin/pango-querymodules-32 > /etc/pango/$host/pango.modules || :
   ;;
esac

fi