Blame Scripts/Functions/Tuneup/Backends/Svg/svg.sh

ae2c20
#!/bin/bash
ae2c20
#
2a08b7
# svg.sh -- This function standardizes maintainance of SVG files.
ae2c20
#
3b0984
# Copyright (C) 2009, 2010, 2011 The CentOS Artwork SIG
fa95b1
#
fa95b1
# This program is free software; you can redistribute it and/or modify
fa95b1
# it under the terms of the GNU General Public License as published by
dcd347
# the Free Software Foundation; either version 2 of the License, or (at
dcd347
# your option) any later version.
fa95b1
#
74a058
# This program is distributed in the hope that it will be useful, but
74a058
# WITHOUT ANY WARRANTY; without even the implied warranty of
ae2c20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
ae2c20
# General Public License for more details.
ae2c20
#
ae2c20
# You should have received a copy of the GNU General Public License
ae2c20
# along with this program; if not, write to the Free Software
dcd347
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
7ac5a5
#
ae2c20
# ----------------------------------------------------------------------
ae2c20
# $Id$
ae2c20
# ----------------------------------------------------------------------
ae2c20
2a08b7
function svg {
2a08b7
2a08b7
    # Define backend-specific configuration directory.
2a08b7
    TUNEUP_BACKEND_CONFIG="${TUNEUP_BACKEND_DIR}/$(cli_getRepoName ${TUNEUP_BACKEND} -d)/Config"
ae2c20
0a3f74
    # Update metadata information.
2a08b7
    ${TUNEUP_BACKEND}_doMetadata
03a4b4
0a3f74
    # Remove all unused items.
32f59f
    ${TUNEUP_BACKEND}_doVacuumDefs
ae2c20
ae2c20
}