1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22
23
24 #!/bin/sh
25 #
26 # Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
27 # Use is subject to license terms.
28 #
29 #ident "@(#)install-sfw 1.3 05/01/28 SMI"
30
31 VERS=yasr-0.6.7
32 PREFIX=${ROOT}/opt/sfw
33 BINDIR=${PREFIX}/bin
34 MAN1DIR=${PREFIX}/man/man1
35 SHAREUNDIR=${PREFIX}/share/yasr
36
37 cd ${VERS}
38
39 #
40 # Set ownership and permissions for all directories.
41 #
42
43 for i in ${SHAREUNDIR}
44 do
45 mkdir ${i}
46 chmod 0755 ${i}
47 done
48
49 for i in ${BINDIR} ${MAN1DIR}
50 do
51 chmod 0755 ${i}
|
1 #!/bin/sh
2 #
3 # CDDL HEADER START
4 #
5 # The contents of this file are subject to the terms of the
6 # Common Development and Distribution License (the "License").
7 # You may not use this file except in compliance with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 #
23
24
25 #
26 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
27 # Use is subject to license terms.
28 #
29
30 VERS=yasr-0.6.9
31 PREFIX=${ROOT}/opt/sfw
32 BINDIR=${PREFIX}/bin
33 MAN1DIR=${PREFIX}/man/man1
34 SHAREUNDIR=${PREFIX}/share/yasr
35
36 cd ${VERS}
37
38 #
39 # Set ownership and permissions for all directories.
40 #
41
42 for i in ${SHAREUNDIR}
43 do
44 mkdir ${i}
45 chmod 0755 ${i}
46 done
47
48 for i in ${BINDIR} ${MAN1DIR}
49 do
50 chmod 0755 ${i}
|