summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index d800413d..bb81f246 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -405,6 +405,7 @@ sub silentCheck() {
POSIX::_exit($comm_codes{$state}{code});
};
my $will_not_update_media;
+ require urpm;
require urpm::lock;
my $urpm = urpm->new;
{
@@ -422,7 +423,6 @@ sub silentCheck() {
$exit->('error_updating') if $will_not_update_media;
}
- use urpm; # to force require
require urpm::select;
require urpm::media;
urpm::media::configure($urpm);