updated for ova files, compressed open virtual machine pack, compatible with tar.
[feisty_meow.git] / scripts / archival / listarch.sh
index 6c621611897a8277241d5dc728d4a21e2fc8f4a9..88cc9678820f27857bcf1bde600aaf2b63de3495 100644 (file)
@@ -20,7 +20,7 @@ if [ -z "$archive_file" ]; then
   exit 1
 fi
 if [ ! -f "$archive_file" ]; then
-  echo "The file specified for listing cannot be located: $archive_file"
+  echo "The file specified cannot be located: $archive_file"
   exit 1
 fi
 
@@ -43,6 +43,7 @@ if [[ $archive_file =~ .*\.tar$ \
     || $archive_file =~ .*\.iar$ \
     || $archive_file =~ .*\.oar$ \
     || $archive_file =~ .*\.tgz$ \
+    || $archive_file =~ .*\.ova$ \
     ]]; then
   tar -tf $archive_file
 elif [[ $archive_file =~ .*\.zip$ \