summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-12-01 16:31:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-12-01 16:31:43 +0000
commitded3c8414d4522eb7320beb48853b7b35c21e8ae (patch)
tree4e40aabad17d960f0939a9ea8e8b35571b51c86c /urpmi.addmedia
parentc3df5e0f2d48dadc17a44c966b85361cbb53b3a8 (diff)
downloadurpmi-ded3c8414d4522eb7320beb48853b7b35c21e8ae.tar
urpmi-ded3c8414d4522eb7320beb48853b7b35c21e8ae.tar.gz
urpmi-ded3c8414d4522eb7320beb48853b7b35c21e8ae.tar.bz2
urpmi-ded3c8414d4522eb7320beb48853b7b35c21e8ae.tar.xz
urpmi-ded3c8414d4522eb7320beb48853b7b35c21e8ae.zip
no urpmi.cfg is now a simple warning
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index dad70f1f..5813560c 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -118,7 +118,7 @@ if ($< != 0) {
$urpm->{fatal}(1, N("Only superuser is allowed to add media"));
}
if (!-e $urpm->{config}) {
- $urpm->{error}(N("Will create config file [%s]", $urpm->{config}));
+ $urpm->{log}(N("creating config file [%s]", $urpm->{config}));
open my $_f, '>', $urpm->{config} or $urpm->{fatal}(6, N("Can't create config file [%s]", $urpm->{config}));
}
my $_urpmi_lock = urpm::lock::urpmi_db($urpm, 'exclusive');