diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-26 07:49:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-26 07:49:50 +0000 |
commit | 5573c393830262d43ce1be7496bbf364cba9e148 (patch) | |
tree | 79d0324220e3ff4ac9173d814e54f3bb447f5ed7 /mgaapplet-upgrade-helper | |
parent | 2b0e1b48614f5bf44eea7f479e7ad12d92a2a0c2 (diff) | |
download | mgaonline-5573c393830262d43ce1be7496bbf364cba9e148.tar mgaonline-5573c393830262d43ce1be7496bbf364cba9e148.tar.gz mgaonline-5573c393830262d43ce1be7496bbf364cba9e148.tar.bz2 mgaonline-5573c393830262d43ce1be7496bbf364cba9e148.tar.xz mgaonline-5573c393830262d43ce1be7496bbf364cba9e148.zip |
do not opencode get_product_id()
(spot by Colin)
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-x | mgaapplet-upgrade-helper | 2 |
1 files changed, 1 insertions, 1 deletions
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) && |