PREUN
/bin/sh
if [ "$1" = "0" ]; then umask 022 grep -v 'Latin2\.unicodeMap' /etc/xpdfrc > /etc/xpdfrc.new mv -f /etc/xpdfrc.new /etc/xpdfrc fi
POSTIN
/bin/sh
umask 022 if [ ! -f /etc/xpdfrc ]; then echo 'unicodeMap Latin2 /usr/share/xpdf/Latin2.unicodeMap' >> /etc/xpdfrc else if ! grep -q 'Latin2\.unicodeMap' /etc/xpdfrc; then echo 'unicodeMap Latin2 /usr/share/xpdf/Latin2.unicodeMap' >> /etc/xpdfrc fi fi