File: postinst

package info (click to toggle)
luakit 1%3A2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,844 kB
  • sloc: ansic: 12,519; makefile: 140; ruby: 79; sh: 48
file content (24 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

set -e

case "$1" in
  (configure)
  update-alternatives --install /usr/bin/x-www-browser \
    x-www-browser /usr/bin/luakit 30 \
    --slave /usr/share/man/man1/x-www-browser.1.gz x-www-browser.1.gz /usr/share/man/man1/luakit.1.gz
	update-alternatives --install /usr/bin/gnome-www-browser \
		gnome-www-browser /usr/bin/luakit 30 \
		--slave /usr/share/man/man1/gnome-www-browser.1.gz gnome-www-browser.1.gz /usr/share/man/man1/luakit.1.gz

  ;;
  (abort-upgrade|abort-remove|abort-deconfigure)
  ;;
  (*)
  echo "postinst called with unknown argument \`$1'" >&2
  ;;
esac

#DEBHELPER#

exit 0