From 0617c9b9048d055eb02b8e0be929cc159d21719c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 7 Apr 2022 22:00:38 +0200 Subject: [PATCH] forgot to add part for creating filename --- src/package.v | 1 + 1 file changed, 1 insertion(+) diff --git a/src/package.v b/src/package.v index 41251a6..a6be636 100644 --- a/src/package.v +++ b/src/package.v @@ -191,6 +191,7 @@ pub fn (pkg &Pkg) filename() string { ext := match pkg.compression { 0 { '.tar' } 1 { '.tar.gz' } + 6 { '.tar.xz' } 14 { '.tar.zst' } else { panic("Another compression code shouldn't be possible. Faulty code: $pkg.compression") } }