summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");