summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index 606855e6..7c45060d 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -35,6 +35,8 @@ use lib qw(/usr/lib/libDrakX/drakfirsttime);
use mdkonline;
use Gtk2::TrayIcon;
+mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n";
+
my $in = interactive->vnew('');
ugtk2::add_icon_path("/usr/share/mdkonline/pixmaps/");
@@ -53,8 +55,6 @@ my $localfile = "$localdir/mdkonline";
mkdir_p($localdir) if !-d $localdir;
-e "$ENV{HOME}/.mdkonline" and system("mv", "$ENV{HOME}/.mdkonline", $localfile);
-mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n";
-
my %state = (
okay => {
colour => [ 'okay' ],