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