blob: 04a32079f9cf4ae898d1f63fa18df1bbc730224c (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
@ This is a template to be processed into a Bourne shell program.
@
#!/bin/sh
# This program was generated by the Netpbm installer. Its purpose is to
# allow other programs to find out about how Netpbm is installed on this
# system. This program is supposed to be invoked via the PATH.
@ The following @xxx@ strings get replaced by Installnetpbm when it turns
@ this template into an actual Bourne shell program.
version='@VERSION@'
datadir='@DATADIR@'
linkdir='@LINKDIR@'
includedir='@INCLUDEDIR@'
bindir='@BINDIR@'
if test $# -eq 0; then
echo >&2 "You need to specify one of these options:"
echo >&2 " --version"
echo >&2 " --datadir"
echo >&2 " --linkdir"
echo >&2 " --includedir"
echo >&2 " --bindir"
exit 100
fi
case "$1" in
--version)
echo $version
exit 0
;;
--datadir)
echo $datadir
exit 0
;;
--linkdir)
echo $linkdir
exit 0
;;
--includedir)
echo $includedir
exit 0
;;
--bindir)
echo $bindir
exit 0
;;
*)
echo >&2 "Unrecognized option to $0: $1"
exit 100
esac
|