repo.or.cz
/
ooovba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
merge the formfield patch from ooo-build
[ooovba.git]
/
sysui
/
desktop
/
debian
/
prerm
blob
d83e09f841f431b37504e6d581630424cbca7a42
1
#!/bin/sh
2
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$$
7
8
# and replace the original file
9
mv
-f
/
etc
/
mailcap.tmp$$
/
etc
/
mailcap
10
fi