From 71101f293073188889b257d6ee6b80f067e1b49d Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Wed, 20 Feb 2008 09:58:04 +0200 Subject: [PATCH] Fix commit 7711426c6b69f2546f9e9b5db777c95007b24140 Signed-off-by: Vladimir Sokolovsky --- install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.pl b/install.pl index fde77de..3929fd5 100755 --- a/install.pl +++ b/install.pl @@ -125,7 +125,7 @@ my $dist_rpm_ver = 0; my $dist_rpm_rel = 0; if (-f "/etc/issue") { - $dist_rpm = `rpm -qf /etc/issue | cut -d ' ' -f 1`; + $dist_rpm = `rpm -qf /etc/issue | head -1`; chomp $dist_rpm; $dist_rpm_ver = get_rpm_ver_inst($dist_rpm); $dist_rpm_rel = get_rpm_rel_inst($dist_rpm); -- 2.46.0