summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/icedove8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/icedove b/config/chroot_local-hooks/icedove
new file mode 100755
index 0000000..f6855b3
--- /dev/null
+++ b/config/chroot_local-hooks/icedove
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [ -x /usr/bin/icedove ]; then
+ :
+else
+ rm -vf /etc/skel/.kde/share/config/emaildefaults
+ perl -pi -e s@/usr/share/applications/icedove.desktop,@@ /etc/skel/.kde/share/config/kickoffrc || :
+ perl -pi -e 's/.*icedove.*\n//' /etc/skel/.mozilla/firefox/evc3to3e.default/prefs.js /etc/skel/.mozilla/firefox/evc3to3e.default/mimeTypes.rdf || :
+fi