diff options
Diffstat (limited to 'debian/plptools-kde.postinst')
-rw-r--r-- | debian/plptools-kde.postinst | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/plptools-kde.postinst b/debian/plptools-kde.postinst deleted file mode 100644 index cefdb49..0000000 --- a/debian/plptools-kde.postinst +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh - -set -e - -# -# Workaround for a mis-feature (bug?) in kdelibs: -# If mimetype is inode/x-directory, then always the folder-icon is displayed. -# If mimetype is something else, open dialog pops up. So, for displaying -# Psion's drive icons _AND_ opening drives without annoying dialog, -# modify konquerorrc to hide dialog when opening a Psion-drive -# -case "$1" in - configure) - KDEBUGRC=`dpkg -S kdebugrc | awk '{print $2}'` - KONQRC=`dirname $KDEBUGRC`/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 - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 0 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 |