merge the formfield patch from ooo-build
[ooovba.git] / sysui / desktop / debian / prerm
blobd83e09f841f431b37504e6d581630424cbca7a42
1 #!/bin/sh
3 if [ "$1" = "remove" ]
4 then
5 # backing all entries pointing to our binary
6 sed '/%PREFIX/d' /etc/mailcap 2>/dev/null >> /etc/mailcap.tmp$$
8 # and replace the original file
9 mv -f /etc/mailcap.tmp$$ /etc/mailcap