summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-29 18:06:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-29 18:06:39 +0000
commit4f3f1380433ab4edaf8a2e1cd62102e9bfeab675 (patch)
tree4bba904d4fb81cc114658655c0f927745eb92845
parent93768e3577249832a713f4716d219c3b776349ae (diff)
downloaddrakx-4f3f1380433ab4edaf8a2e1cd62102e9bfeab675.tar
drakx-4f3f1380433ab4edaf8a2e1cd62102e9bfeab675.tar.gz
drakx-4f3f1380433ab4edaf8a2e1cd62102e9bfeab675.tar.bz2
drakx-4f3f1380433ab4edaf8a2e1cd62102e9bfeab675.tar.xz
drakx-4f3f1380433ab4edaf8a2e1cd62102e9bfeab675.zip
release_file(): handle /etc/fedora-release
-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 6bcd0889e..dfa9f139e 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -296,7 +296,7 @@ sub set_permissions {
sub release_file {
my ($o_dir) = @_;
- my @names = ('mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release');
+ my @names = ('mandrakelinux-release', 'mandrake-release', 'conectiva-release', 'release', 'redhat-release', 'fedora-release');
find { -r "$o_dir$_" } (
(map { "/root/drakx/$_.upgrading" } @names),
(map { "/etc/$_" } @names),