From c729e82b1479aff965694e14ad01cfa633b8603f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 30 2010 15:11:42 +0000 Subject: Rename verify_requiredPackages.sh to verify_doPackages.sh. --- diff --git a/Scripts/Bash/Functions/Verify/verify_doPackages.sh b/Scripts/Bash/Functions/Verify/verify_doPackages.sh new file mode 100644 index 0000000..322d940 --- /dev/null +++ b/Scripts/Bash/Functions/Verify/verify_doPackages.sh @@ -0,0 +1,53 @@ +#!/bin/bash +# +# verify_doPackages.sh -- This function verifies required packages +# your workstation needs in order to run the centos-art command +# correctly. If there are missing packages, the `centos-art.sh' script +# asks you to confirm their installation. When installing packages, +# the `centos-art.sh' script uses the yum application in order to +# achieve the task. +# +# Copyright (C) 2009-2010 Alain Reguera Delgado +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# USA. +# +# ---------------------------------------------------------------------- +# $Id$ +# ---------------------------------------------------------------------- + +function verify_doPackages { + + local PACKAGES='' + local PACKAGES_THIRD_REGEX='' + local PACKAGES_MISSING='' + local PACKAGES_THIRD='' + local COUNT=0 + + # Define required packages needed by centos-art.sh script. + PACKAGES="bash inkscape ImageMagick netpbm netpbm-progs + syslinux gimp coreutils texinfo info tetex-latex tetex-fonts + tetex-doc tetex-xdvi tetex-dvips a b c gettext texi2html" + + # Define, from required packages, packages being from third + # parties (i.e., packages not included in CentOS [base] + # repository.). + PACKAGES_THIRD_REGEX="(inkscape|blender)" + + verify_doPackageCheck + verify_doPackageReport + # --- verify_doPackageInstall + +} diff --git a/Scripts/Bash/Functions/Verify/verify_requiredPackages.sh b/Scripts/Bash/Functions/Verify/verify_requiredPackages.sh deleted file mode 100644 index 322d940..0000000 --- a/Scripts/Bash/Functions/Verify/verify_requiredPackages.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# -# verify_doPackages.sh -- This function verifies required packages -# your workstation needs in order to run the centos-art command -# correctly. If there are missing packages, the `centos-art.sh' script -# asks you to confirm their installation. When installing packages, -# the `centos-art.sh' script uses the yum application in order to -# achieve the task. -# -# Copyright (C) 2009-2010 Alain Reguera Delgado -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA. -# -# ---------------------------------------------------------------------- -# $Id$ -# ---------------------------------------------------------------------- - -function verify_doPackages { - - local PACKAGES='' - local PACKAGES_THIRD_REGEX='' - local PACKAGES_MISSING='' - local PACKAGES_THIRD='' - local COUNT=0 - - # Define required packages needed by centos-art.sh script. - PACKAGES="bash inkscape ImageMagick netpbm netpbm-progs - syslinux gimp coreutils texinfo info tetex-latex tetex-fonts - tetex-doc tetex-xdvi tetex-dvips a b c gettext texi2html" - - # Define, from required packages, packages being from third - # parties (i.e., packages not included in CentOS [base] - # repository.). - PACKAGES_THIRD_REGEX="(inkscape|blender)" - - verify_doPackageCheck - verify_doPackageReport - # --- verify_doPackageInstall - -}