summaryrefslogtreecommitdiff
path: root/d
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2013-08-30 03:33:38 +1200
committerMike Beattie <mike@ethernal.org>2013-08-30 03:33:38 +1200
commitd7f66ca9c6e643d4fcad1602681fa13bb7bc2028 (patch)
treeca00d823a8277684b2b7db8b31597af8d9922baa /d
parent20c61a1c6781e78559292ee58fb9604c3e6dc478 (diff)
Add script to decompress ORK file.
Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'd')
-rwxr-xr-xd9
1 files changed, 9 insertions, 0 deletions
diff --git a/d b/d
new file mode 100755
index 0000000..f1eac72
--- /dev/null
+++ b/d
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+ork_file=MJB-L3.ork
+
+if file ${ork_file} | grep -q "Zip archive"; then
+ mv ${ork_file} ${ork_file}.gz
+ gunzip ${ork_file}.gz
+fi
+