svc-texinfo-update revision 1085
214N/A# The contents of this file are subject to the terms of the 919N/A# Common Development and Distribution License (the "License"). 919N/A# You may not use this file except in compliance with the License. 919N/A# See the License for the specific language governing permissions 919N/A# and limitations under the License. 919N/A# When distributing Covered Code, include this CDDL HEADER in each 919N/A# If applicable, add the following below this CDDL HEADER, with the 919N/A# fields enclosed by brackets "[]" replaced with your own identifying 919N/A# information: Portions Copyright [yyyy] [name of copyright owner] 214N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 935N/A echo "populating ${dir_file} from ${directory}" 935N/A # new dir file created, replace the original one 935N/A # no dir file created (no input files installed) 214N/A if [[
"$1" =
'start' ]];
then 935N/A if [[ ! -f
"/.SELF-ASSEMBLY-REQUIRED" ]];
then # refresh texinfo directories # test the directory is writable # remove any unreferenced directories if [[ ! -L ${
path} ]] ;
then echo -n
"removing unreferenced texinfo directory: " echo "Usage: $0 (start|refresh)"