Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > d0ed6b01974fe2c2d822e7928b638929 > scriptlet

allegro-4.2.3-3.fc14.i686.rpm

POSTIN

/bin/sh
/sbin/ldconfig   
# Set SELinux file_context for vga plugin in the policy
semanage fcontext -a -t textrel_shlib_t \
  '/usr/lib/allegro/4\.2\.2/alleg-vga\.so' 2>/dev/null || :
# Actually change the context
chcon -t textrel_shlib_t /usr/lib/allegro/4.2.3/alleg-vga.so \
  2> /dev/null || :

POSTUN

/bin/sh
/sbin/ldconfig
# SELinux support
if [ $1 -eq 0 ]; then  # final removal
  semanage fcontext -d -t textrel_shlib_t \
    '/usr/lib/allegro/4\.2\.2/alleg-vga\.so' 2>/dev/null || :
fi