summaryrefslogtreecommitdiffstats
path: root/globetrotter
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:53:33 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:53:33 +0000
commitb446efbf85f670e70893844a59f37f8d66e36fde (patch)
tree4e53e676b1b30732c71bad59165835110f5b6bc6 /globetrotter
parent858a4ec3ea127a1f57312e38f432dcdd2771d997 (diff)
downloaddrakx-b446efbf85f670e70893844a59f37f8d66e36fde.tar
drakx-b446efbf85f670e70893844a59f37f8d66e36fde.tar.gz
drakx-b446efbf85f670e70893844a59f37f8d66e36fde.tar.bz2
drakx-b446efbf85f670e70893844a59f37f8d66e36fde.tar.xz
drakx-b446efbf85f670e70893844a59f37f8d66e36fde.zip
prevent building a disk w/o translation catalogs
Diffstat (limited to 'globetrotter')
-rwxr-xr-xglobetrotter/make_live4
1 files changed, 4 insertions, 0 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 3fde3331e..5d0e568ff 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -41,6 +41,10 @@ if ($0 =~ /restore_globetrotter/) {
@ARGV = @new_ARGV;
+if (!$rescue) {
+ die qq(\%_install_langs is not set to "all" in /etc/rpm/macros) if cat_('/etc/rpm/macros') !~ /\%_install_langs\s*all/;
+}
+
my @suggestions = (
{ mntpoint => "/", size => 4500 << 11, type => 0x483, ratio => 1, maxsize => 6000 << 11 },
# splited / and /usr: