b76c02 Update cli_checkFiles.sh and related files:

Authored and Committed by areguera 14 years ago
    Update cli_checkFiles.sh and related files:
    
        - Before this commit, cli_checkFiles function used four arguments,
          and was designed to be used only for two-columns format output.
          It was also designed to do quiet verifications based on returned
          value.
    
        - In this commit, cli_checkFiles uses two arguments only. One to
          receive FILE, and other to receive the verification type. Both
          ACTION and OPTIONS arguments were removed from cli_checkFiles.
    
          cli_checkFiles was redesign to no longer be used inside
          two-columns output only, but in whatever place you need inside
          centos-art.sh script.
    
          As default behaviour, if FILE pass verification, centos-art.sh
          script continues with its normal flow. Otherwise the
          centos-art.sh ends script execution with an error and
          documentation message.
    
        - As consecuence of these changes, related files where
          cli_checkFiles is used needed to be updated to fit new arguments
          and script flow.
    
        - When you verify directories with cli_checkFiles, if directory
          doesn't exist, centos-art.sh script ask you for confirmation in
          order to create that directory. If you answer positively,
          centos-art.sh script creates that directory and continues script
          flows normally. Otherwise, if you answer negatively,
          centos-art.sh ends script execution with an error and
          documentation message.
    
            NOTE: File manipulation insdie repository will be covered by
            centos-art.sh script ``path'' functionality. Once ``path''
            functionality be ready. All file/directory creation should be
            done through ``path'' functionality.
    
        - Add file execution (x) verification to cli_checkFiles.
    
    
        
file modified
+7 -10