Blame Scripts/Bash/Functions/Verify/verify_getActions.sh

3b853a
#!/bin/bash
3b853a
#
c29817
# verify_getActions.sh -- This function defines the ``verify''
c29817
# command-line interface of centos-art.sh script.
3b853a
#
3b853a
# Copyright (C) 2009-2010 Alain Reguera Delgado
3b853a
# 
3b853a
# This program is free software; you can redistribute it and/or modify
3b853a
# it under the terms of the GNU General Public License as published by
3b853a
# the Free Software Foundation; either version 2 of the License, or
3b853a
# (at your option) any later version.
3b853a
# 
3b853a
# This program is distributed in the hope that it will be useful, but
3b853a
# WITHOUT ANY WARRANTY; without even the implied warranty of
3b853a
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
3b853a
# General Public License for more details.
3b853a
#
3b853a
# You should have received a copy of the GNU General Public License
3b853a
# along with this program; if not, write to the Free Software
3b853a
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
3b853a
# USA.
3b853a
# 
3b853a
# ----------------------------------------------------------------------
3b853a
# $Id$
3b853a
# ----------------------------------------------------------------------
3b853a
466982
function verify_getActions {
3b853a
3b853a
    case $OPTIONNAM in
3b853a
3b853a
        --packages )
8d73a3
            verify_doPackages
3b853a
            ;;
3b853a
8d73a3
        --links )
08abde
            verify_doLinks
3b853a
            ;;
3b853a
8d73a3
        --environment )
c29817
            verify_doEnvironment 
08abde
            ;;
08abde
3b853a
        * )
3b853a
            cli_printMessage "`gettext "The option provided is not valid."`"
8d73a3
            cli_printMessage "$(caller)" "AsToKnowMoreLine"
3b853a
3b853a
    esac
3b853a
3b853a
}