i.immodules revision 7411
# Class Action Script for installing input method modules for libgtk # The contents of this file are subject to the terms of the # Common Development and Distribution License, Version 1.0 only # (the "License"). You may not use this file except in compliance # See the License for the specific language governing permissions # and limitations under the License. # When distributing Covered Code, include this CDDL HEADER in each # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. if [
"sparc" =
"`uname -p`" ];
then if [ ! -f ${
dest} ];
then # Check if any of the lines from ${src} are already in the file # save the standard input as file descriptor 3 # input method spec lines start with quotes # restore the standard input # close file descriptor 3 if egrep -s
'GTK\+ Input Method Modules file' ${
F_A};
then # The original Gtk+ config file should come first # Any additions should be at the end