office-gobmx/sysui/desktop/debian/prerm
Rüdiger Timm a2896f1478 INTEGRATION: CWS sysui08 (1.1.2); FILE ADDED
2005/06/20 11:57:52 obr 1.1.2.1: #i48992# debian menu integration
2005-06-21 14:03:33 +00:00

10 lines
No EOL
229 B
Bash

#!/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