From e1828c55ddc97196af903d0a39eaebdba46a6b44 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 16 Nov 2016 10:09:18 -0800 Subject: [PATCH] add jar and xpi --- ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ex b/ex index 159297b..e0ea044 100755 --- a/ex +++ b/ex @@ -35,7 +35,7 @@ to try it out sometime." *.bz2 ) bunzip2 "$x" ;; *.gz ) gunzip "$x" ;; *.tar ) tar xf "$x" ;; - *.zip ) unzip "$x" ;; + *.zip|*.xpi ) unzip "$x" ;; *.Z ) uncompress "$x" ;; *.7z ) 7za x "$x" ;; *.deb ) ar x "$x" ;; @@ -58,6 +58,7 @@ to try it out sometime." *.r[0-9][0-9]|*.rar ) unrar x "$x" ;; *.dsc) dpkg-source -x "$x" ;; *.sfs) $super unsquashfs "$x" ;; + *.jar) jar xf "$x" ;; *) echo "I don't know how to extract $x";; esac done -- 2.30.2