diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:53:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:53:33 +0000 |
commit | b446efbf85f670e70893844a59f37f8d66e36fde (patch) | |
tree | 4e53e676b1b30732c71bad59165835110f5b6bc6 | |
parent | 858a4ec3ea127a1f57312e38f432dcdd2771d997 (diff) | |
download | drakx-backup-do-not-use-b446efbf85f670e70893844a59f37f8d66e36fde.tar drakx-backup-do-not-use-b446efbf85f670e70893844a59f37f8d66e36fde.tar.gz drakx-backup-do-not-use-b446efbf85f670e70893844a59f37f8d66e36fde.tar.bz2 drakx-backup-do-not-use-b446efbf85f670e70893844a59f37f8d66e36fde.tar.xz drakx-backup-do-not-use-b446efbf85f670e70893844a59f37f8d66e36fde.zip |
prevent building a disk w/o translation catalogs
-rwxr-xr-x | globetrotter/make_live | 4 |
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: |