3 # Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
11 # $Id: install.sh,v 8.14 2001/03/16 23:37:31 gshapiro Exp $
20 # chown program -- ultrix keeps it in /etc/chown and /usr/etc/chown
24 elif [ -f /usr
/etc
/chown
]
56 -*) echo $0: Unknown option
$1
68 echo "Source file required" >&2
70 elif [ -f $1 -o $1 = /dev
/null
]
74 echo "Source file must be a regular file or /dev/null" >&2
81 echo "Destination required" >&2
85 srcfile
=`basename $src`
91 # Do install operation
104 # Change owner if requested
114 # Change group if requested
124 # Change mode if requested