PKGBUILDs/core/heimdal/heimdal.install
2010-02-09 19:38:13 -06:00

21 lines
433 B
Text

infodir=/usr/share/info
filelist=(heimdal hx509)
post_install() {
for file in ${filelist[@]}; do
install-info $infodir/$file.info.gz $infodir/dir 2> /dev/null
ln -s /usr/lib/libhx509.so.5 /usr/lib/libhx509.so.4
done
}
post_upgrade() {
post_install $1
}
pre_remove() {
for file in ${filelist[@]}; do
install-info --delete $infodir/$file.info.gz $infodir/dir 2> /dev/null
rm /usr/lib/libhx509.so.4
done
}