This file is indexed.

postinst is in virt-viewer 1.0-1.

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

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
    if [ -x /usr/bin/spice-xpi-client-remote-viewer ]; then
      update-alternatives --install /usr/bin/spice-xpi-client \
        spice-xpi-client /usr/bin/spice-xpi-client-remote-viewer 70
    fi
fi