This file is indexed.

preinst is in dnscache-run 1:1.05-8ubuntu1.

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

test "$1" = 'install' || exit 0
test -z "$2" || exit 0

# not upgrading
for i in Gdnscache Gdnslog Gtinydns Gaxfrdns; do
  getent passwd $i >/dev/null ||
    adduser --quiet --system --force-badname --shell /bin/false --group \
      --home /nonexistent --no-create-home $i || exit 1;
done