This file is indexed.

postinst is in usb-modeswitch 2.2.5+repack0-1ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh

set -e

if [ "$1" = configure ];
then
	# Move "runtime" files to their new and correct location
	if test -e /etc/usb_modeswitch.d/link_list; then
		mv -f /etc/usb_modeswitch.d/link_list /var/lib/usb_modeswitch/
	fi
	if test -e /etc/usb_modeswitch.d/bind_list; then
		mv -f /etc/usb_modeswitch.d/bind_list /var/lib/usb_modeswitch/
	fi
fi

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/udev/rules.d/usb_modeswitch.rules" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/udev/rules.d/80-usb_modeswitch.rules" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/05c6:1000:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.d/19d2:2000:?:?:?" 1.0.7-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile "/etc/usb_modeswitch.setup" 1.1.3-1 -- "$@"
# End automatically added section