Sophie

Sophie

distrib > PLD > ra > i686 > media > dist > by-pkgid > c03984e1dadc867e99a04cabe8f50b98 > scriptlet

xpdf-turkish-1.0-1.i686.rpm

PREUN

/bin/sh
grep -v /usr/X11R6/share/xpdf/ISO-8859-9.unicodeMap /etc/xpdfrc > /etc/xpdfrc.new
mv -f /etc/xpdfrc.new /etc/xpdfrc

POSTIN

/bin/sh
if [ ! -f /etc/xpdfrc ]; then
	echo 'unicodeMap	ISO-8859-9	/usr/X11R6/share/xpdf/ISO-8859-9.unicodeMap' >> /etc/xpdfrc
else
 if ! grep -q /usr/X11R6/share/xpdf/ISO-8859-9.unicodeMap /etc/xpdfrc; then
	echo 'unicodeMap	ISO-8859-9	/usr/X11R6/share/xpdf/ISO-8859-9.unicodeMap' >> /etc/xpdfrc
 fi
fi