~ubuntu-branches/ubuntu/vivid/fyre/vivid

« back to all changes in this revision

Viewing changes to install-sh

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Haas
  • Date: 2006-10-22 20:33:21 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20061022203321-xlc2dvrxbptdojtf
Tags: 1.0.1-1
* New upstream release
* Patch from Sebastian Dröge included to avoid libcairo dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
# install - install a program, script, or datafile
3
3
 
4
 
scriptversion=2004-12-17.09
 
4
scriptversion=2005-05-14.22
5
5
 
6
6
# This originates from X11R5 (mit/util/scripts/install.sh), which was
7
7
# later released in X11R6 (xc/config/util/install.sh) with the
109
109
        shift
110
110
        continue;;
111
111
 
112
 
    --help) echo "$usage"; exit 0;;
 
112
    --help) echo "$usage"; exit $?;;
113
113
 
114
114
    -m) chmodcmd="$chmodprog $2"
115
115
        shift
134
134
        shift
135
135
        continue;;
136
136
 
137
 
    --version) echo "$0 $scriptversion"; exit 0;;
 
137
    --version) echo "$0 $scriptversion"; exit $?;;
138
138
 
139
139
    *)  # When -d is used, all remaining arguments are directories to create.
140
140
        # When -t is used, the destination is already specified.