recognizing epubs as zips
authorChris Koeritz <fred@gruntose.com>
Mon, 17 Sep 2012 12:47:27 +0000 (08:47 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 17 Sep 2012 12:47:27 +0000 (08:47 -0400)
scripts/archival/unpack.sh

index f5c2aa93a2623158a169b475a280e1685c05f497..4fbe182039940a232039ff3e4a0b9427ae65eb90 100644 (file)
@@ -60,6 +60,7 @@ if [[ $unpack_file =~ .*\.tar$ \
     ]]; then
   tar -xf $unpack_file &>/dev/null
 elif [[ $unpack_file =~ .*\.zip$ \
+    || $unpack_file =~ .*\.epub$ \
     || $unpack_file =~ .*\.odt$ \
     || $unpack_file =~ .*\.jar$ \
     || $unpack_file =~ .*\.war$ \