summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-03-08 20:36:46 +0000
committerDaouda Lo <daouda@mandriva.com>2005-03-08 20:36:46 +0000
commit55966bbe7100d5d4d0c6f2e06ca100697111b5be (patch)
tree4ae6d4e5ec4390b82d27723f66f2d31c817b2465
parent48377875cced748e510d2e40eac4e29b8b4c9484 (diff)
downloadmgaonline-55966bbe7100d5d4d0c6f2e06ca100697111b5be.tar
mgaonline-55966bbe7100d5d4d0c6f2e06ca100697111b5be.tar.gz
mgaonline-55966bbe7100d5d4d0c6f2e06ca100697111b5be.tar.bz2
mgaonline-55966bbe7100d5d4d0c6f2e06ca100697111b5be.tar.xz
mgaonline-55966bbe7100d5d4d0c6f2e06ca100697111b5be.zip
- check if mdkupdate is running
-rwxr-xr-xmdkupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkupdate b/mdkupdate
index b0326030..83dc9b18 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -29,6 +29,8 @@ use urpm;
BEGIN { unshift @::textdomains, 'mdkupdate' }
+mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n";
+
require_root_capability();
my $confdir = '/root/.MdkOnline';