summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-04 16:00:24 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-04 16:00:24 +0000
commit4f3048c286c06f0f8209180cf3ac207a07704360 (patch)
tree496964e2470d41c553ee4585f5baa3a54c282c99 /perl-install
parenta3bae024f50cc1191e1f7c8c61d3cf25c12d4457 (diff)
downloaddrakx-4f3048c286c06f0f8209180cf3ac207a07704360.tar
drakx-4f3048c286c06f0f8209180cf3ac207a07704360.tar.gz
drakx-4f3048c286c06f0f8209180cf3ac207a07704360.tar.bz2
drakx-4f3048c286c06f0f8209180cf3ac207a07704360.tar.xz
drakx-4f3048c286c06f0f8209180cf3ac207a07704360.zip
Add an explicit error message instead of a built-in cryptic one (bug #14243)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 8b540c9ba..40b7b41de 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -574,6 +574,7 @@ sub load_rate_files {
($o->{compssUsers}, $o->{gtk_display_compssUsers}) = pkgs::readCompssUsers(
-e '/tmp/compssUsers.pl' ? '/tmp/compssUsers.pl' : 'media/media_info/compssUsers.pl'
);
+ defined $o->{compssUsers} or die "Can't read compssUsers.pl file, aborting installation\n";
}
sub setPackages {