PREUN
/bin/sh
if [ "$1" = 0 ]
then
/usr/bin/perl /usr/share/plptools/kiodoc-update.pl -r psion
KONQRC=`kde-config --expandvars --install config`/konquerorrc
if test -f $KONQRC ; then
cp $KONQRC $KONQRC.$$
grep -v 'askSaveinode/x-psion-drive=' $KONQRC.$$ > $KONQRC && \
rm -f $KONQRC.$$
fi
fi
POSTIN
/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
/sbin/ldconfig
KONQRC=`/usr/bin/kde-config --expandvars --install config`/konquerorrc
if test -f $KONQRC && grep -q '\[Notification Messages\]' $KONQRC ; then
cp $KONQRC $KONQRC.$$
cat $KONQRC.$$ | grep -v "askSaveinode/x-psion-drive=No" | sed \
-e '/\[Notification Messages\]/a' \
-e 'askSaveinode/x-psion-drive=No' > $KONQRC && \
rm -f $KONQRC.$$
else
cat>>$KONQRC<<EOF
[Notification Messages]
askSaveinode/x-psion-drive=No
EOF
fi
POSTUN
/bin/sh
/sbin/ldconfig
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi