File: kino.postinst

package info (click to toggle)
kino 1.3.4-2.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 29,692 kB
  • ctags: 27,935
  • sloc: ansic: 323,805; cpp: 35,797; sh: 14,924; asm: 3,727; makefile: 1,504; perl: 440; xml: 15
file content (18 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e

#DEBHELPER#

PACKAGE="kino"

# remove old hotplug/udev files 
if [ "$1" = "configure" ] && [ -d /etc/udev/ ]; then
	rm -f /etc/udev/rules.d/035_kino.rules
	rm -f /etc/udev/kino.rules
	rm -f /etc/hotplug/usb/kino-jogshuttle
	rm -f /etc/hotplug/usb/kino.usermap
	rmdir /etc/hotplug/usb 2>/dev/null || true
	rmdir /etc/hotplug 2>/dev/null || true
fi

exit 0