File: dlocate.postinst

package info (click to toggle)
dlocate 1.18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144 kB
  • sloc: sh: 641; perl: 181; makefile: 37
file content (21 lines) | stat: -rw-r--r-- 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# See deb-postinst(5).

set -e

case "$1" in
configure)
  # generate initial dlocate database and package list
  update-dlocatedb -b
  ;;
abort-upgrade|abort-remove|abort-deconfigure)
  ;;
*)
  echo "postinst called with unknown argument '$1'" >&2
  exit 0
  ;;
esac

#DEBHELPER#

exit 0