summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-09-25 21:36:01 +0000
committerDaouda Lo <daouda@mandriva.com>2004-09-25 21:36:01 +0000
commitad7a75c412ec8efb993bfaea69e81d82b9a14aa8 (patch)
treeb646933944b83213a599a060ba000132ed2f2782 /mdkapplet
parentabbc5f41b62cd83723988a037cad53eb55a9b9d2 (diff)
downloadmgaonline-ad7a75c412ec8efb993bfaea69e81d82b9a14aa8.tar
mgaonline-ad7a75c412ec8efb993bfaea69e81d82b9a14aa8.tar.gz
mgaonline-ad7a75c412ec8efb993bfaea69e81d82b9a14aa8.tar.bz2
mgaonline-ad7a75c412ec8efb993bfaea69e81d82b9a14aa8.tar.xz
mgaonline-ad7a75c412ec8efb993bfaea69e81d82b9a14aa8.zip
- some perl_checker test
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 85fc7068..5cb5614b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -28,8 +28,8 @@ use Gtk2::Pango;
use Digest::MD5;
BEGIN { unshift @::textdomains, 'mdkonline' }
-use ugtk2 qw (:all);
+use ugtk2 qw(:all);
use lib qw(/usr/lib/libDrakX/drakfirsttime);
use mdkonline;
use Gtk2::TrayIcon;
@@ -49,7 +49,7 @@ my $localfile = "$localdir/mdkonline";
#compatibility
mkdir_p($localdir) if !-d $localdir;
--e "$ENV{HOME}/.mdkonline" and system("mv", "$ENV{HOME}/.mdkonline", "$localfile");
+-e "$ENV{HOME}/.mdkonline" and system("mv", "$ENV{HOME}/.mdkonline", $localfile);
is_running('mdkapplet') and die "mdkapplet already running\n";
@@ -344,7 +344,7 @@ sub lastCheck {
my %h = getVarsFromSh($localfile);
my ($t, $l);
$t = $h{LASTCHECK} ;
- $t =~ s/\_/ /g;
+ $t =~ s/_/ /g;
$t ? $t : N("No check")
}
sub getTime {