forgot to add part for creating filename
parent
0a74f10052
commit
0617c9b904
|
@ -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") }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue