forgot to add part for creating filename

main
Jef Roosens 2022-04-07 22:00:38 +02:00
parent 0a74f10052
commit 0617c9b904
Signed by untrusted user: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 0 deletions

View File

@ -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") }
}