summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-06 17:22:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-06 17:22:27 +0000
commit00b66bc7af7bd26f32eecd29357e56fab49ffcfe (patch)
treee2cbf881b48827cdc8dfb3e67899cb45da89ee33 /mdkapplet
parent3b9a5a15bcc3a14543e43608f49bded1b034217d (diff)
downloadmgaonline-00b66bc7af7bd26f32eecd29357e56fab49ffcfe.tar
mgaonline-00b66bc7af7bd26f32eecd29357e56fab49ffcfe.tar.gz
mgaonline-00b66bc7af7bd26f32eecd29357e56fab49ffcfe.tar.bz2
mgaonline-00b66bc7af7bd26f32eecd29357e56fab49ffcfe.tar.xz
mgaonline-00b66bc7af7bd26f32eecd29357e56fab49ffcfe.zip
perl_checker cleanups
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index d245f900..6c822ed8 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -273,7 +273,7 @@ sub refresh_contents {
}
sub configNetwork() { logIt(N("Launching drakconnect\n")); refresh_gui(0); fork_exec("/usr/sbin/drakconnect") }
-sub restart_applet {
+sub restart_applet() {
logIt(N("Mandriva Online seems to be reinstalled, reloading applet ...."));
exec($0, '--auto-update');
}
@@ -285,7 +285,7 @@ sub installUpdates() {
refresh_gui(0);
fork_exec("/usr/sbin/mdkupdate --applet");
my $newmd5 = $release <= 10.2 ? mdkonline::md5file($binfile) : common::md5file($binfile);
- restart_applet if $newmd5 ne $oldmd5;
+ restart_applet() if $newmd5 ne $oldmd5;
#my $w = $in->wait_message(N("Please wait"), N("Check updates"));
silentCheck(); gtkflush();
#undef $w;