chiark
/
gitweb
/
~mdw
/
e16
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Imported Debian patch 1.0.0-6
[e16]
/
debian
/
e16.postrm
1
#!/bin/sh -e
2
3
wm=e16
4
5
inst=/etc/menu-methods/$wm
6
if [ "$1" = 'remove' ]; then
7
if [ -f $inst ]; then
8
chmod a-x $inst
9
if [ -x /usr/bin/update-menus ]; then update-menus ; fi
10
fi
11
fi
12
13
14
if [ "$1" = 'purge' ] && [ -d /var/lib/$wm ]; then
15
rm -rf /var/lib/$wm
16
fi
17
18
#DEBHELPER#