Ignore:
Timestamp:
03/08/2006 07:20:36 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
3a5c9cc
Parents:
c0aeabe
Message:

Removed the unneeded keywords.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/func_validate_configs.sh

    rc0aeabe r3bbf6d5  
     1
    12# $Id$
    2 # $Author$$Rev$$Date$
     3
    34#----------------------------#
    45validate_config()    {       # Are the config values sane (within reason)
    56#----------------------------#
    67: <<inline_doc
    7       Validates the configuration parameters. The global var PROGNAME selects the 
     8      Validates the configuration parameters. The global var PROGNAME selects the
    89    parameter list.
    9    
     10
    1011    input vars: none
    1112    externals:  color constants
     
    3132  local config_param
    3233  local validation_str
    33  
     34
    3435  write_error_and_die() {
    3536    echo -e "\n${DD_BORDER}"
     
    8384      continue
    8485    fi
    85    
     86
    8687    for config_param in LC_ALL LANG; do
    8788      [[ $1 = "1" ]] && echo "`eval echo $PARAM_VALS`"
     
    8990      # See it the locale values exist on this machine
    9091      [[ "`locale -a | grep -c ${!config_param}`" > 0 ]] && continue
    91  
     92
    9293      # If you make it this far then there is a problem
    9394      write_error_and_die
     
    101102      [[ -z "${!config_param}" ]] && continue
    102103      [[ -e "${!config_param}" ]] && [[ -s "${!config_param}" ]] && continue
    103  
     104
    104105      # If you make it this far then there is a problem
    105106      write_error_and_die
Note: See TracChangeset for help on using the changeset viewer.