Blame Scripts/Bash/centos-art/Functions/Identity/identity_renderPostActions.sh

c979f9
#!/bin/bash
c979f9
#
c979f9
# identity_renderPostActions.sh -- This function executes
c979f9
# post-rendition actions.
c979f9
#
c979f9
# Copyright (C) 2009-2011 Alain Reguera Delgado
c979f9
# 
c979f9
# This program is free software; you can redistribute it and/or
c979f9
# modify it under the terms of the GNU General Public License as
c979f9
# published by the Free Software Foundation; either version 2 of the
c979f9
# License, or (at your option) any later version.
c979f9
# 
c979f9
# This program is distributed in the hope that it will be useful, but
c979f9
# WITHOUT ANY WARRANTY; without even the implied warranty of
c979f9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
c979f9
# General Public License for more details.
c979f9
#
c979f9
# You should have received a copy of the GNU General Public License
c979f9
# along with this program; if not, write to the Free Software
c979f9
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
c979f9
# USA.
c979f9
# 
c979f9
# ----------------------------------------------------------------------
c979f9
# $Id$
c979f9
# ----------------------------------------------------------------------
c979f9
c979f9
function identity_renderPostActions {
c979f9
c979f9
    local ACTION=''
c979f9
c979f9
    for ACTION in "${POSTACTIONS[@]}"; do
c979f9
c979f9
        case "${ACTION}" in
c979f9
c979f9
            renderSyslinux* )
c979f9
                identity_renderSyslinux 
c979f9
                ;;
c979f9
c979f9
            renderGrub* )
c979f9
                identity_renderGrub 
c979f9
                ;;
c979f9
c979f9
            renderFormats:* )
c979f9
                identity_renderFormats 
c979f9
                ;;
c979f9
c979f9
            groupByType:* )
c979f9
                identity_renderGroupByType 
c979f9
                ;;
c979f9
c979f9
            renderBrands )
c979f9
                identity_renderBrands 
c979f9
                ;;
c979f9
c979f9
        esac
c979f9
c979f9
    done
c979f9
c979f9
}