summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-01 11:28:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-01 11:28:11 +0000
commit1ab876ac9facd3c3666e2eac12e3053598113f21 (patch)
treec236622bd03d581a99094fe3e7119d164b37982e
parent3190aeb1dfc327432b88e1c80792af6c02a56eb3 (diff)
downloaddrakx-1ab876ac9facd3c3666e2eac12e3053598113f21.tar
drakx-1ab876ac9facd3c3666e2eac12e3053598113f21.tar.gz
drakx-1ab876ac9facd3c3666e2eac12e3053598113f21.tar.bz2
drakx-1ab876ac9facd3c3666e2eac12e3053598113f21.tar.xz
drakx-1ab876ac9facd3c3666e2eac12e3053598113f21.zip
also detect SuSE distros (see #16604)
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 5daf17af0..fadd8c106 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -304,7 +304,7 @@ sub parse_release_file {
sub release_file {
my ($o_dir) = @_;
- my @names = ('mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release', 'fedora-release');
+ my @names = ('mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release', 'fedora-release', 'SuSE-release');
find { -r "$o_dir$_" } (
(map { "/root/drakx/$_.upgrading" } @names),
(map { "/etc/$_" } @names),