summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-27 17:25:35 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-27 17:25:35 +0000
commitf793795d1286f3e7248bd65a6edc0b48b41fc7e7 (patch)
tree3f3a271bd8ef55440b0947f3269d54111cefd0b8 /mdkapplet
parenta08b382fcd9a1a63d7f4273ca7a37a6c1143076d (diff)
downloadmgaonline-f793795d1286f3e7248bd65a6edc0b48b41fc7e7.tar
mgaonline-f793795d1286f3e7248bd65a6edc0b48b41fc7e7.tar.gz
mgaonline-f793795d1286f3e7248bd65a6edc0b48b41fc7e7.tar.bz2
mgaonline-f793795d1286f3e7248bd65a6edc0b48b41fc7e7.tar.xz
mgaonline-f793795d1286f3e7248bd65a6edc0b48b41fc7e7.zip
(read_config) share code
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index eb7c2eab..80aee539 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -52,7 +52,7 @@ if (!find { $_ eq '--auto-update' } @ARGV) {
my $online_site = "http://www.mandrivalinux.com/";
my ($menu, $timeout, $network_timeout, $state_global, $sub_state);
-%config = getVarsFromSh('/etc/sysconfig/mdkapplet');
+read_config();
$config{UPDATE_FREQUENCY} ||= 3*60*60; # default to 3hours
if ($::testing) {
$config{FIRST_CHECK_DELAY} = 1 * 1000; # 1 second