File: postinst

package info (click to toggle)
gtkdevice 1.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 360 kB
  • ctags: 159
  • sloc: ansic: 2,380; makefile: 65; sh: 28
file content (25 lines) | stat: -rw-r--r-- 479 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
22
23
24
25
#!/bin/sh
# 							-*- makefile -*-
# debian/postinst file for the Debian/GNU Linux r-cran-gtkdevice package
# Copyright 2004 by Dirk Eddelbuettel <edd@debian.org>

set -e

#DEBHELPER#

case "$1" in
    configure)
	if test -x /usr/bin/R; then
	    R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
	fi
        ;;
    abort-upgrade|abort-remove|abort-deconfigure)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        ;;
esac


exit 0