summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgaiso-addmd510
-rwxr-xr-xmgaiso-checkmd510
2 files changed, 20 insertions, 0 deletions
diff --git a/mgaiso-addmd5 b/mgaiso-addmd5
new file mode 100755
index 0000000..2bb1a96
--- /dev/null
+++ b/mgaiso-addmd5
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+
+use strict;
+use MGATools::iso qw(include_md5);
+
+@ARGV || exit(1);
+
+my $isofile = $ARGV[0];
+my $err = include_md5($isofile, 1, 1);
+print $err;
diff --git a/mgaiso-checkmd5 b/mgaiso-checkmd5
new file mode 100755
index 0000000..6734f12
--- /dev/null
+++ b/mgaiso-checkmd5
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+
+use strict;
+use MGATools::iso qw(include_md5);
+
+@ARGV || exit(1);
+
+my $isofile = $ARGV[0];
+my $err = include_md5($isofile, 0, 1);
+print $err;