This file is indexed.

preinst is in gvrng 4.4-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
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

# Try to remove the /usr/share/GvRng/docs/lessons directory, if it exists
case "$1" in
  upgrade|install)
    if [ -h "/usr/share/GvRng/docs/lessons/html" ]; then
      rm "/usr/share/GvRng/docs/lessons/html"
    fi
    if [ -d "/usr/share/GvRng/docs/lessons" ]; then
      rmdir "/usr/share/GvRng/docs/lessons" 2> /dev/null || true
    fi
  ;;
esac



exit 0