ppdfilename2mmp revision e6917149c742c7b83b952b9933ea0d28a968c4c6
0N/A# The contents of this file are subject to the terms of the 661N/A# Common Development and Distribution License, Version 1.0 only 661N/A# (the "License"). You may not use this file except in compliance 661N/A# See the License for the specific language governing permissions 661N/A# and limitations under the License. 661N/A# When distributing Covered Code, include this CDDL HEADER in each 661N/A# If applicable, add the following below this CDDL HEADER, with the 661N/A# fields enclosed by brackets "[]" replaced with your own identifying 661N/A# information: Portions Copyright [yyyy] [name of copyright owner] 661N/A# ident "%Z%%M% %I% %E% SMI" 0N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 0N/A# Use is subject to license terms. 0N/A # Perhaps this is an old configuration file 0N/A # look for ppd file in new directories 0N/A # file. Separate with /. 0N/A # search for ppd file in all the directories under system 0N/A # Use the first one found 0N/A if [[ -d "$dir" ]]; then 0N/A target=$dir/$manufile 0N/A if [[ -z "$ppdfile" && -n "$found" ]]; then 661N/A if [[ -z "$ppdfile" ]]; then 0N/A # Use only first word in manufacturer entry 661N/A nawk '{FS=":"; print $2; print $3}'