revert commit a03a529513: this creates some issues in the translations

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-11-10 23:05:06 +01:00
parent 0f301dc9fa
commit 54b8190ba1
7 changed files with 0 additions and 34 deletions

View File

@ -5,10 +5,6 @@ Changes in version 1.14.2
Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled) Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled)
to ignore color redefinitions made by user. to ignore color redefinitions made by user.
+ improvement
* plugins/* - Davide Madrisan:
Do not load a library already loaded by another autospec module.
+ update + update
* autospec - Davide Madrisan: * autospec - Davide Madrisan:
Send the debug message showing autospec version as soon as possible. Send the debug message showing autospec version as soon as possible.

View File

@ -3,9 +3,6 @@
# Copyright (C) 2007,2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> # Copyright (C) 2007,2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
# Copyright (C) 2008-2011 Silvan Calarco <silvan.calarco@mambasoft.it> # Copyright (C) 2008-2011 Silvan Calarco <silvan.calarco@mambasoft.it>
[ "$libapse_is_loaded" = 1 ] || {
libapse_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
echo $"this script requires bash version 2 or better" >&2 && exit 1 echo $"this script requires bash version 2 or better" >&2 && exit 1
@ -593,5 +590,3 @@ a newer version of \`${NOTE}$specname${NORM}' is already installed"
return $retval return $retval
} }
} # endif $libapse_is_loaded

View File

@ -2,9 +2,6 @@
# libcfg.lib -- @package@ library for loading the configuration file(s) # libcfg.lib -- @package@ library for loading the configuration file(s)
# Copyright (C) 2008,2011,2012 Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2008,2011,2012 Davide Madrisan <davide.madrisan@gmail.com>
[ "$libcfg_is_loaded" = 1 ] || {
libcfg_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
echo $"this script requires bash version 2 or better" >&2 && exit 1 echo $"this script requires bash version 2 or better" >&2 && exit 1
@ -116,5 +113,3 @@ done
[ "$cfg_files_num" = 0 ] && notify.error $"configuration file not found" [ "$cfg_files_num" = 0 ] && notify.error $"configuration file not found"
unset cfg_file unset cfg_file
} # endif $libcfg_is_loaded

View File

@ -2,9 +2,6 @@
# libmsgmng.lib -- @package@ library to manage debug/warning/error messages # libmsgmng.lib -- @package@ library to manage debug/warning/error messages
# Copyright (C) 2005,2006,2008,2012 Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2005,2006,2008,2012 Davide Madrisan <davide.madrisan@gmail.com>
[ "$libmsgmng_is_loaded" = 1 ] || {
libmsgmng_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
echo $"this script requires bash version 2 or better" >&2 && exit 1 echo $"this script requires bash version 2 or better" >&2 && exit 1
@ -73,5 +70,3 @@ $"unknown color theme \`$colorize_theme': colors will be disabled"
function notify.disable_colors() { function notify.disable_colors() {
ESC= CRIT= NOTE= WARN= EXIT= NORM= ESC= CRIT= NOTE= WARN= EXIT= NORM=
} }
} # endif $libmsgmng_is_loaded

View File

@ -2,9 +2,6 @@
# libnetwork.lib -- @package@ library to get info from internet repositories # libnetwork.lib -- @package@ library to get info from internet repositories
# Copyright (C) 2008,2010,2012 Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2008,2010,2012 Davide Madrisan <davide.madrisan@gmail.com>
[ "$libnetwork_is_loaded" = 1 ] || {
libnetwork_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; } { echo $"this script requires bash version 3 or better" >&2 && exit 1; }
@ -1065,5 +1062,3 @@ an error occurred while creating"": ${pck_tarball}.tar.bz2"
return 0 return 0
} }
} # endif $libnetwork_is_loaded

View File

@ -2,9 +2,6 @@
# libspec.lib -- @package@ library to manage rpm specfiles # libspec.lib -- @package@ library to manage rpm specfiles
# Copyright (C) 2004-2010,2012 Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2004-2010,2012 Davide Madrisan <davide.madrisan@gmail.com>
[ "$libspec_is_loaded" = 1 ] || {
libspec_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 2 ] &&
echo $"this script requires bash version 2 or better" >&2 && exit 1 echo $"this script requires bash version 2 or better" >&2 && exit 1
@ -1247,5 +1244,3 @@ function getversionfromtarball() {
notify.debug "$FUNCNAME: pck_version = \"$pck_version\"" notify.debug "$FUNCNAME: pck_version = \"$pck_version\""
echo "$pck_version" echo "$pck_version"
} }
} # endif $libspec_is_loaded

View File

@ -2,9 +2,6 @@
# libtest.lib -- @package@ library used by the test framework # libtest.lib -- @package@ library used by the test framework
# Copyright (C) 2012 Davide Madrisan <davide.madrisan@gmail.com> # Copyright (C) 2012 Davide Madrisan <davide.madrisan@gmail.com>
[ "$libtest_is_loaded" = 1 ] || {
libtest_is_loaded=1
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] && [ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; } { echo $"this script requires bash version 3 or better" >&2 && exit 1; }
@ -173,5 +170,3 @@ function test.runall() {
--tmpdir "$tmpextractdir" --tmpdir "$tmpextractdir"
done done
} }
} # endif $libtest_is_loaded