diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-01 10:39:28 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-02-01 10:39:28 +0000 |
commit | 18e6fd1c1d53f82af93949cd3c2e68557a4ed751 (patch) | |
tree | 681d36b6b47e88e4bf756e3013adf90823257d1a /rpmdrake.pm | |
parent | a42bf850b7a7491126ddbfc70a9d7fe6f7394754 (diff) | |
download | rpmdrake-18e6fd1c1d53f82af93949cd3c2e68557a4ed751.tar rpmdrake-18e6fd1c1d53f82af93949cd3c2e68557a4ed751.tar.gz rpmdrake-18e6fd1c1d53f82af93949cd3c2e68557a4ed751.tar.bz2 rpmdrake-18e6fd1c1d53f82af93949cd3c2e68557a4ed751.tar.xz rpmdrake-18e6fd1c1d53f82af93949cd3c2e68557a4ed751.zip |
Fallback to /etc/release
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 86ed316a..dafe7eed 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -84,7 +84,7 @@ ugtk2::add_icon_path('/usr/share/rpmdrake/icons'); c::bind_textdomain_codeset('rpmdrake', 'UTF8'); our $mandrake_release = cat_( - -e '/etc/mandrakelinux-release' ? '/etc/mandrakelinux-release' : '/etc/mandrake-release' + -e '/etc/mandrakelinux-release' ? '/etc/mandrakelinux-release' : '/etc/release' ) || ''; chomp $mandrake_release; (our $mdk_version) = $mandrake_release =~ /(\d+\.\d+)/; |