File: postrm

package info (click to toggle)
wmsun 1.03%2B1-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 236 kB
  • ctags: 123
  • sloc: ansic: 548; makefile: 59; sh: 16
file content (17 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#DEBHELPER#

set -e

if [ "$1" = purge ]; then
	if [ -x /usr/bin/ucf ]; then
		ucf --purge /etc/menu/wmsun
	fi
	rm -f /etc/menu/wmsun /etc/menu/wmsun.*
fi

if [ -x /usr/bin/update-menus ]; then
	update-menus
fi

exit 0