[go: up one dir, main page]

File: postinst

package info (click to toggle)
time 1.7-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 484 kB
  • ctags: 143
  • sloc: ansic: 1,402; sh: 294; makefile: 58
file content (38 lines) | stat: -rw-r--r-- 730 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
# This is the postinst script for the Debian GNU/Linux time package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   

set -e 

#DEBHELPER# 

case "$1" in
    configure)
	#
	# update menus (not needed as we now use doc-base)
	#if test -x /usr/bin/update-menus
	#then 
	#    update-menus
	#fi
	#
	install-info --quiet \
	    --section "General commands" "General commands:" \
	    --description="A utility to time the execution of a command" time
	#
#       if command -v install-docs >/dev/null 2>&1 
#	then
#	    install-docs -i /usr/share/doc-base/time
#        fi
	;;
    abort-upgrade|abort-remove|abort-deconfigure)
	exit 0
	;;
    *)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 0
	;;
esac