~ubuntu-branches/ubuntu/lucid/quick-lounge-applet/lucid

« back to all changes in this revision

Viewing changes to install-sh

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Rottmann
  • Date: 2004-12-16 13:06:08 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041216130608-i7tq2h21kzrdy4yl
Tags: 2.2.0-1
* New upstream release.
* Build-Depend on debhelper (>= 4.1.0), fixes linda error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
3
3
# install - install a program, script, or datafile
4
 
# This comes from X11R5 (mit/util/scripts/install.sh).
5
 
#
6
 
# Copyright 1991 by the Massachusetts Institute of Technology
7
 
#
8
 
# Permission to use, copy, modify, distribute, and sell this software and its
9
 
# documentation for any purpose is hereby granted without fee, provided that
10
 
# the above copyright notice appear in all copies and that both that
11
 
# copyright notice and this permission notice appear in supporting
12
 
# documentation, and that the name of M.I.T. not be used in advertising or
13
 
# publicity pertaining to distribution of the software without specific,
14
 
# written prior permission.  M.I.T. makes no representations about the
15
 
# suitability of this software for any purpose.  It is provided "as is"
16
 
# without express or implied warranty.
 
4
#
 
5
# This originates from X11R5 (mit/util/scripts/install.sh), which was
 
6
# later released in X11R6 (xc/config/util/install.sh) with the
 
7
# following copyright and license.
 
8
#
 
9
# Copyright (C) 1994 X Consortium
 
10
#
 
11
# Permission is hereby granted, free of charge, to any person obtaining a copy
 
12
# of this software and associated documentation files (the "Software"), to
 
13
# deal in the Software without restriction, including without limitation the
 
14
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 
15
# sell copies of the Software, and to permit persons to whom the Software is
 
16
# furnished to do so, subject to the following conditions:
 
17
#
 
18
# The above copyright notice and this permission notice shall be included in
 
19
# all copies or substantial portions of the Software.
 
20
#
 
21
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
22
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
23
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
24
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 
25
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
 
26
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
27
#
 
28
# Except as contained in this notice, the name of the X Consortium shall not
 
29
# be used in advertising or otherwise to promote the sale, use or other deal-
 
30
# ings in this Software without prior written authorization from the X Consor-
 
31
# tium.
 
32
#
 
33
#
 
34
# FSF changes to this file are in the public domain.
17
35
#
18
36
# Calling this script install-sh is preferred over install.sh, to prevent
19
37
# `make' implicit rules from creating a file called install from it
221
239
 
222
240
# Make a couple of temp file names in the proper directory.
223
241
 
224
 
        dsttmp=$dstdir/#inst.$$#
225
 
        rmtmp=$dstdir/#rm.$$#
 
242
        dsttmp=$dstdir/_inst.$$_
 
243
        rmtmp=$dstdir/_rm.$$_
226
244
 
227
245
# Trap to clean up temp files at exit.
228
246