From 5573c393830262d43ce1be7496bbf364cba9e148 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 26 Apr 2013 07:49:50 +0000 Subject: do not opencode get_product_id() (spot by Colin) --- mgaapplet-upgrade-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index 1089a805..56457b6e 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -55,7 +55,7 @@ foreach my $opt (@ARGV) { my $root = Rpmdrake::open_db::fast_open_urpmi_db()->{root}; -my $product_id = common::parse_LDAP_namespace_structure(cat_("$root/etc/product.id")); +my $product_id = get_product_id(); if (!$ENV{URPMI_IGNORESIZE}) { check_available_free_space('/usr', 800) && -- cgit v1.2.1