Blame Scripts/centos-art/Functions/Tuneup/Svg/svg.sh
|
|
ae2c20 |
#!/bin/bash
|
|
|
ae2c20 |
#
|
|
|
2a08b7 |
# svg.sh -- This function standardizes maintainance of SVG files.
|
|
|
ae2c20 |
#
|
|
|
2fe9b7 |
# Copyright (C) 2009, 2010, 2011 The CentOS Project
|
|
|
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 |
|
|
|
0a3f74 |
# Update metadata information.
|
|
|
491306 |
svg_doMetadata
|
|
|
03a4b4 |
|
|
|
0a3f74 |
# Remove all unused items.
|
|
|
491306 |
svg_doVacuumDefs
|
|
|
ae2c20 |
|
|
|
ae2c20 |
}
|