summaryrefslogtreecommitdiffstats
path: root/mdvbundle.pl
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2006-02-15 18:03:53 +0000
committerDaouda Lo <daouda@mandriva.com>2006-02-15 18:03:53 +0000
commit187dbad91fc6b802704a0f496e83f46ae14e90cf (patch)
tree7865031c55a5dc158af00f800f4db1a07f438483 /mdvbundle.pl
parentd9498ba91e7a6a9ba026feac9d8a6c8671a7f80c (diff)
downloadmgaonline-187dbad91fc6b802704a0f496e83f46ae14e90cf.tar
mgaonline-187dbad91fc6b802704a0f496e83f46ae14e90cf.tar.gz
mgaonline-187dbad91fc6b802704a0f496e83f46ae14e90cf.tar.bz2
mgaonline-187dbad91fc6b802704a0f496e83f46ae14e90cf.tar.xz
mgaonline-187dbad91fc6b802704a0f496e83f46ae14e90cf.zip
- fix typo
Diffstat (limited to 'mdvbundle.pl')
-rwxr-xr-xmdvbundle.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdvbundle.pl b/mdvbundle.pl
new file mode 100755
index 00000000..c8b945a1
--- /dev/null
+++ b/mdvbundle.pl
@@ -0,0 +1,7 @@
+#!/usr/bin/perl -w
+
+my $bundle = $ARGV[0];
+
+$bundle or die ("no bundles avalailable");
+
+$bundle =~ /\.bundle$/ and exec("/usr/sbin/mdkupdate --bundle $bundle");