File: php5-xapian.preinst

package info (click to toggle)
xapian-bindings 1.4.22-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,196 kB
  • sloc: cpp: 375,068; python: 10,752; cs: 9,518; java: 6,943; sh: 4,534; perl: 4,429; makefile: 1,274; ruby: 952; php: 586; tcl: 251
file content (15 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

case $1 in
upgrade)
  # Avoid warning that the diversion already exists.
  ;;
*)
  dpkg-divert --package php5-xapian --divert /usr/share/php/_xapian-7.php --rename /usr/share/php/xapian.php
  ;;
esac

#DEBHELPER#

exit 0