mirror of https://github.com/CIRCL/Circlean
support more archive formats
parent
6de31e562d
commit
995d40ba96
|
@ -24,7 +24,7 @@ following theses rules (based on the mime type):
|
|||
- x-gzip|x-tar|x-7z-compressed => compressed file
|
||||
- octet-stream => direct copy
|
||||
|
||||
Compressed files (x-gzip|x-tar|x-7z-compressed):
|
||||
Compressed files (zip|x-rar|x-bzip2|x-lzip|x-lzma|x-lzop|x-xz|x-compress|x-gzip|x-tar|*compressed):
|
||||
- Unpacking of archives
|
||||
- Recursively run the rules on the unpacked files
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ application(){
|
|||
echo "Win executable"
|
||||
copy ${src_file} DANGEROUS_${dst_file}_DANGEROUS
|
||||
;;
|
||||
x-gzip|x-tar|x-7z-compressed)
|
||||
zip|x-rar|x-bzip2|x-lzip|x-lzma|x-lzop|x-xz|x-compress|x-gzip|x-tar|*compressed)
|
||||
echo "Compressed file"
|
||||
archive ${src_file} ${dst_file}
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue