This file is indexed.

postinst is in lxc-android-config 0.162.

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
#!/bin/sh

set -e

OLDOVERRIDE=/etc/init/lxc-android-fstab.override

if [ "$1" = configure ]; then
    dpkg-divert --package lxc-android-config --rename --divert \
        /lib/udev/rules.d/50-firmware.rules.disabled \
        --remove /lib/udev/rules.d/50-firmware.rules || true
    dpkg-divert --package lxc-android-config --rename --divert \
        /lib/udev/rules.d/60-persistent-v4l.rules.disabled \
        --remove /lib/udev/rules.d/60-persistent-v4l.rules || true
    dpkg-divert --package lxc-android-config --rename --divert \
        /lib/udev/rules.d/90-alsa-restore.rules.disabled \
        --remove /lib/udev/rules.d/90-alsa-restore.rules || true
    dpkg-divert --package lxc-android-config --rename --divert \
        /lib/udev/rules.d/90-alsa-ucm.rules.disabled \
        --remove /lib/udev/rules.d/90-alsa-ucm.rules || true
    if [ -e /system/build.prop ]; then
        device=$(grep ^ro.product.device= /system/build.prop |sed -e 's/.*=//')
        cp /usr/lib/lxc-android-config/70-$device.rules /lib/udev/rules.d/ || true

        # add device specific hacks and workarounds below
    fi
    # erase old override file that was created inside create-fstab script
    [ -f $OLDOVERRIDE ] && rm -f $OLDOVERRIDE
fi

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/init/lxc-android-fstab.conf 0.38~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/rsyslog.d/45-binder.conf 0.44~ -- "$@"
# End automatically added section