add .txz archive suffix

Closes: #249
Approved by: TingPing
auto
eszlari 2018-12-31 14:21:53 +01:00 committed by Atomic Bot
parent 348c7dd9e2
commit 673a00c0b1
1 changed files with 2 additions and 1 deletions

View File

@ -504,7 +504,8 @@ get_type (GFile *archivefile)
if (g_str_has_suffix (lower, ".tar.lzo"))
return TAR_LZOP;
if (g_str_has_suffix (lower, ".tar.xz"))
if (g_str_has_suffix (lower, ".tar.xz") ||
g_str_has_suffix (lower, ".txz"))
return TAR_XZ;
if (g_str_has_suffix (lower, ".zip"))