mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-08 05:50:47 +00:00
Don't delete original and overwrite file when bzipping.
This commit is contained in:
+1
-1
@@ -28,6 +28,6 @@ func CompressFile(source *os.File) error {
|
||||
return err
|
||||
}
|
||||
|
||||
cmd := exec.Command("bzip2", source.Name())
|
||||
cmd := exec.Command("bzip2", "-k", "-f", source.Name())
|
||||
return cmd.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user