diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-16 05:58:13 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-16 05:58:13 +0000 |
commit | adec25f54995debcaa165864eaaf4654802f0ca0 (patch) | |
tree | 6c60f3f3939ab61af128208ee85eb80bb1ef7ce4 /debian/plptools-kde.prerm | |
parent | eb1cae45049c5b46caf4eba36f67997d921b018b (diff) | |
download | plptools-adec25f54995debcaa165864eaaf4654802f0ca0.tar.gz plptools-adec25f54995debcaa165864eaaf4654802f0ca0.tar.bz2 plptools-adec25f54995debcaa165864eaaf4654802f0ca0.zip |
- Debian package now nearly finished
- Applied patches from Chris Halls <chris.halls@gmx.de>
Diffstat (limited to 'debian/plptools-kde.prerm')
-rw-r--r-- | debian/plptools-kde.prerm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/plptools-kde.prerm b/debian/plptools-kde.prerm new file mode 100644 index 0000000..d658fba --- /dev/null +++ b/debian/plptools-kde.prerm @@ -0,0 +1,35 @@ +#! /bin/sh +# prerm script for plptools-kde +# +# see: dh_installdeb(1) + +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 + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + 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 + ;; + *) + echo "prerm 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 |