This file is indexed.

preinst is in grub-coreboot 1.99-21ubuntu3.

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

case "$1" in
  install|upgrade)
    if dpkg --compare-versions "$2" lt 1.98+20100804-2 && \
       test -h /etc/kernel/postrm.d/zz-update-grub; then
      rm -f /etc/kernel/postrm.d/zz-update-grub
    fi
    ;;
esac



exit 0