diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-06-21 14:03:33 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-06-21 14:03:33 +0000 |
commit | a2896f14787d5d2cc43d2e26c63615268fb45516 (patch) | |
tree | aa0b4b9296fe618595fead6164d11cb8ed94e1f3 /sysui/desktop/debian/prerm | |
parent | 0f1d46e6aa4987cf81ee8067e8ff71442a956bf8 (diff) |
INTEGRATION: CWS sysui08 (1.1.2); FILE ADDED
2005/06/20 11:57:52 obr 1.1.2.1: #i48992# debian menu integration
Diffstat (limited to 'sysui/desktop/debian/prerm')
-rw-r--r-- | sysui/desktop/debian/prerm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysui/desktop/debian/prerm b/sysui/desktop/debian/prerm new file mode 100644 index 000000000000..d83e09f841f4 --- /dev/null +++ b/sysui/desktop/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ "$1" = "remove" ] +then + # backing all entries pointing to our binary + sed '/%PREFIX/d' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$ + + # and replace the original file + mv -f /etc/mailcap.tmp$$ /etc/mailcap +fi
\ No newline at end of file |