File: e16.postrm

package info (click to toggle)
e16 1.0.0-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,884 kB
  • ctags: 6,655
  • sloc: ansic: 70,548; sh: 9,928; xml: 2,606; perl: 479; makefile: 394; sed: 16
file content (18 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -e

wm=e16

inst=/etc/menu-methods/$wm
if [ "$1" = 'remove' ]; then
    if [ -f $inst ]; then
            chmod a-x $inst
            if [ -x /usr/bin/update-menus ]; then update-menus ; fi
    fi
fi


if [ "$1" = 'purge' ] && [ -d /var/lib/$wm ]; then
     rm -rf /var/lib/$wm
fi

#DEBHELPER#