File: mouseemu.postrm

package info (click to toggle)
mouseemu 0.15-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 212 kB
  • ctags: 73
  • sloc: sh: 1,093; ansic: 576; makefile: 65
file content (13 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

#DEBHELPER#

# remove symlink in /etc/udev/rules.d 
if [ "$1" = "purge" ]; then
    rm -f /etc/udev/rules.d/025_mouseemu.rules
    if [ -x /sbin/udevcontrol ] ; then
        # udevcontrol fails if udev is not running, but installation should not abort
        udevcontrol reload_rules || true
    fi
fi