aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rebuild_gettext_catalogs.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/rebuild_gettext_catalogs.sh b/tools/rebuild_gettext_catalogs.sh
index 96bc9111a..b2556ef09 100755
--- a/tools/rebuild_gettext_catalogs.sh
+++ b/tools/rebuild_gettext_catalogs.sh
@@ -11,7 +11,14 @@ declare -A errors
if [ -f ./tools/web_projects.dat ]; then
source ./tools/web_projects.dat
else
- echo Critical error!!! It was not possible to load web projects database!
+ echo "Critical error!!! It was not possible to load web projects database! Please report that on atelier mailing list."
+ exit 2
+fi
+
+rpm --quiet -q gettext python-polib
+if [ $? -eq 1 ]; then
+ echo "Warning!!! Some gettext components are missing. Please install them as root: urpmi gettext python-polib"
+ exit 1
fi
for resource in "${!resources[@]}"