~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to install-sh

  • Committer: Package Import Robot
  • Author(s): Alex Valavanis
  • Date: 2014-08-19 19:10:32 UTC
  • mfrom: (1.6.5) (2.5.14 sid)
  • Revision ID: package-import@ubuntu.com-20140819191032-2eca1qihaszjk9i6
Tags: 0.48.5-2ubuntu1
* Merge with Debian Unstable (LP: #1358863). Fixes several Ubuntu bugs:
  - Illustrator CS SVG won't load: namespace URIs in entities (LP: #166371)
  - inkscape crashed with SIGSEGV in
    sp_dtw_color_profile_event() (LP: #966441)
  - inkscape crashed with SIGSEGV (LP: #1051017)
  - inkscape crashed with SIGSEGV in Inkscape::Preferences::_getNode()
    (LP: #1163241)
  - save a copy reverts to save as (LP: #529843)
  - Extension to braille not working on Xubuntu 12.10 (LP: #1090865)
* Remaining changes:
  - debian/control:
    + Set Ubuntu Developer as maintainer,
    + build-depend on dh-translation to handle Ubuntu translation,
    + demote pstoedit from Recommends to Suggests (because it's in universe),
  - debian/patches/0006_add_unity_quicklist_support.patch: add.
  - debian/patches/series: update.
  - debian/rules:
    + add dh_translation to handle Ubuntu translation
* Drop debian/patches/librevenge.patch (superseded by
    debian/patches/0006-Update_to_new_libwpg.patch)

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=2011-01-19.21; # UTC
 
4
scriptversion=2011-11-20.07; # UTC
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
35
35
# FSF changes to this file are in the public domain.
36
36
#
37
37
# Calling this script install-sh is preferred over install.sh, to prevent
38
 
# `make' implicit rules from creating a file called install from it
 
38
# 'make' implicit rules from creating a file called install from it
39
39
# when there is no Makefile.
40
40
#
41
41
# This script is compatible with the BSD install script, but was written
156
156
    -s) stripcmd=$stripprog;;
157
157
 
158
158
    -t) dst_arg=$2
159
 
        # Protect names problematic for `test' and other utilities.
 
159
        # Protect names problematic for 'test' and other utilities.
160
160
        case $dst_arg in
161
161
          -* | [=\(\)!]) dst_arg=./$dst_arg;;
162
162
        esac
190
190
    fi
191
191
    shift # arg
192
192
    dst_arg=$arg
193
 
    # Protect names problematic for `test' and other utilities.
 
193
    # Protect names problematic for 'test' and other utilities.
194
194
    case $dst_arg in
195
195
      -* | [=\(\)!]) dst_arg=./$dst_arg;;
196
196
    esac
202
202
    echo "$0: no input file specified." >&2
203
203
    exit 1
204
204
  fi
205
 
  # It's OK to call `install-sh -d' without argument.
 
205
  # It's OK to call 'install-sh -d' without argument.
206
206
  # This can happen when creating conditional directories.
207
207
  exit 0
208
208
fi
240
240
 
241
241
for src
242
242
do
243
 
  # Protect names problematic for `test' and other utilities.
 
243
  # Protect names problematic for 'test' and other utilities.
244
244
  case $src in
245
245
    -* | [=\(\)!]) src=./$src;;
246
246
  esac
354
354
              if test -z "$dir_arg" || {
355
355
                   # Check for POSIX incompatibilities with -m.
356
356
                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357
 
                   # other-writeable bit of parent directory when it shouldn't.
 
357
                   # other-writable bit of parent directory when it shouldn't.
358
358
                   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359
359
                   ls_ld_tmpdir=`ls -ld "$tmpdir"`
360
360
                   case $ls_ld_tmpdir in