diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-11 13:20:23 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-11 13:20:23 +0000 |
commit | 525b7bc2da9364e323650eb6ac66a2beeb331e2c (patch) | |
tree | 3d487702f059ad210a5c4da52b70bbde68ad5735 | |
parent | b6aca9f143f5900f88d52e468aaa49dc8ddd7da7 (diff) | |
download | mgaonline-525b7bc2da9364e323650eb6ac66a2beeb331e2c.tar mgaonline-525b7bc2da9364e323650eb6ac66a2beeb331e2c.tar.gz mgaonline-525b7bc2da9364e323650eb6ac66a2beeb331e2c.tar.bz2 mgaonline-525b7bc2da9364e323650eb6ac66a2beeb331e2c.tar.xz mgaonline-525b7bc2da9364e323650eb6ac66a2beeb331e2c.zip |
- is_running
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' ], |