File: postrm

package info (click to toggle)
xvmount 3.7-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 152 kB
  • ctags: 68
  • sloc: ansic: 448; sh: 255; makefile: 90
file content (20 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
# Debian standard handling
set -e
case $1 in
abort-*) exit 0;;
esac

# Clean up debconf data base
if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
    # Source debconf library.
    . /usr/share/debconf/confmodule
    # Remove my changes to the db.
    db_purge
    # Remove self-generated config files
    rm /etc/xvmounttab
fi

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