Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > main-release > by-pkgid > 9ccb6dfdf66a668c605e36f29f26832b > scriptlet

prelink-0.4.5-1.20110622.5.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
 echo undo prelinking, it might take some time
 /usr/sbin/prelink -ua 2> /dev/null
fi

# This is a bit sub-optimal and only does libraries for now,
# once trigger functionality in rpm has been extended so that
# matching files can be passed by name, we can do it faster
# and also trigger it on binaries as well.
# XXX: disabled, too slow, will rather consider re-enabling it
# per file when triggers has been extended with the necessary
# functionality

POSTIN

/bin/sh
/usr/share/rpm-helper/create-file prelink $1 /var/lib/misc/prelink.full root root 644 
/usr/share/rpm-helper/create-file prelink $1 /var/lib/misc/prelink.force root root 644 
/usr/share/rpm-helper/create-file prelink $1 /var/log/prelink/prelink.log root root 600