59c0e3 Update names inside centos-art.sh script info action.

Authored and Committed by areguera 14 years ago
    Update names inside centos-art.sh script info action.
    
    
        
Scripts/Bash/Functions/Info/info.sh Scripts/Bash/Functions/Info/prepare.sh
file renamed
+2 -2
Scripts/Bash/Functions/Info/{prepare.sh → info.sh} RENAMED
@@ -24,11 +24,11 @@
24
24
# $Id$
25
25
# ----------------------------------------------------------------------
26
26
27
- function prepare {
27
+ function info {
28
28
29
29
# Define prepare variables.
30
30
31
31
# Define prepare actions.
32
- prepare_getActions
32
+ info_getActions
33
33
34
34
}
Scripts/Bash/Functions/Info/info_getActions.sh Scripts/Bash/Functions/Info/prepare_getActions.sh
file renamed
+4 -4
Scripts/Bash/Functions/Info/{prepare_getActions.sh → info_getActions.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_getActions.sh -- This function defines prepare actions.
3
+ # info_getActions.sh -- This function defines prepare actions.
4
4
#
5
5
# Copyright (C) 2009-2010 Alain Reguera Delgado
6
6
#
@@ -23,16 +23,16 @@
23
23
# $Id$
24
24
# ----------------------------------------------------------------------
25
25
26
- function prepare_getActions {
26
+ function info_getActions {
27
27
28
28
case $OPTIONNAM in
29
29
30
30
--packages )
31
- prepare_forUsingPackages
31
+ info_getPackages
32
32
;;
33
33
34
34
--paths )
35
- prepare_forUsingPaths
35
+ info_getPaths
36
36
;;
37
37
38
38
* )
Scripts/Bash/Functions/Info/info_getPackages.sh Scripts/Bash/Functions/Info/prepare_forUsingPackages.sh
file renamed
+2 -2
Scripts/Bash/Functions/Info/{prepare_forUsingPackages.sh → info_getPackages.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_forUsingPackages.sh -- This function queries your system's
3
+ # info_getPackages.sh -- This function queries your system's
4
4
# rpm database to verify centos-art.sh required packages existence.
5
5
# If there is any missing package, leave a message and quit script
6
6
# execution.
@@ -26,7 +26,7 @@
26
26
# $Id$
27
27
# ----------------------------------------------------------------------
28
28
29
- function prepare_forUsingPackages {
29
+ function info_getPackages {
30
30
31
31
# Define variables as local to avoid conflicts outside.
32
32
local PACKAGE=''
Scripts/Bash/Functions/Info/info_getPathCli.sh Scripts/Bash/Functions/Info/prepare_forUsingPathCli.sh
file renamed
+2 -2
Scripts/Bash/Functions/Info/{prepare_forUsingPathCli.sh → info_getPathCli.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_forUsingPathCli.sh -- This function
3
+ # info_getPathCli.sh -- This function
4
4
#
5
5
# Copyright (C) 2009-2010 Alain Reguera Delgado
6
6
#
@@ -23,7 +23,7 @@
23
23
# $Id$
24
24
# ----------------------------------------------------------------------
25
25
26
- function prepare_forUsingPathCli {
26
+ function info_getPathCli {
27
27
28
28
# Define variables as local to avoid conflicts outside.
29
29
local -a REPODIRS
Scripts/Bash/Functions/Info/info_getPathFonts.sh Scripts/Bash/Functions/Info/prepare_forUsingPathFonts.sh
file renamed
+2 -2
Scripts/Bash/Functions/Info/{prepare_forUsingPathFonts.sh → info_getPathFonts.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_forUsingPathFonts.sh -- This function checks user's fonts
3
+ # info_getPathFonts.sh -- This function checks user's fonts
4
4
# directory. In order for some artworks to be rendered correctly,
5
5
# denmark font needs to be available. By default, denmark font doesn't
6
6
# come with CentOS distribution so create a symbolic link (from the
@@ -27,7 +27,7 @@
27
27
# $Id$
28
28
# ----------------------------------------------------------------------
29
29
30
- function prepare_forUsingPathFonts {
30
+ function info_getPathFonts {
31
31
32
32
# Define variables as local to avoid conflicts outside.
33
33
local -a REPODIRS
Scripts/Bash/Functions/Info/info_getPathInkscape.sh Scripts/Bash/Functions/Info/prepare_forUsingPathInkscape.sh
file renamed
+2 -2
Scripts/Bash/Functions/Info/{prepare_forUsingPathInkscape.sh → info_getPathInkscape.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_forUsingPathInkscape.sh -- This function prepares user's
3
+ # info_getPathInkscape.sh -- This function prepares user's
4
4
# ~/.inkscape configurations directory to use CentOS defaults (e.g.,
5
5
# palettes, patterns, etc).
6
6
#
@@ -25,7 +25,7 @@
25
25
# $Id$
26
26
# ----------------------------------------------------------------------
27
27
28
- function prepare_forUsingPathInkscape {
28
+ function info_getPathInkscape {
29
29
30
30
# Define variables as local to avoid conflicts outside.
31
31
local -a REPODIRS
Scripts/Bash/Functions/Info/info_getPaths.sh Scripts/Bash/Functions/Info/prepare_forUsingPaths.sh
file renamed
+5 -5
Scripts/Bash/Functions/Info/{prepare_forUsingPaths.sh → info_getPaths.sh} RENAMED
@@ -1,6 +1,6 @@
1
1
#!/bin/bash
2
2
#
3
- # prepare_forUsingPaths.sh -- This function verifies centos-art.sh
3
+ # info_getPaths.sh -- This function verifies centos-art.sh
4
4
# required paths existence. If there is any missing path, leave a
5
5
# message and quit script execution.
6
6
#
@@ -25,10 +25,10 @@
25
25
# $Id$
26
26
# ----------------------------------------------------------------------
27
27
28
- function prepare_forUsingPaths {
28
+ function info_getPaths {
29
29
30
- prepare_forUsingPathCli
31
- prepare_forUsingPathFonts
32
- prepare_forUsingPathInkscape
30
+ info_getPathCli
31
+ info_getPathFonts
32
+ info_getPathInkscape
33
33
34
34
}