Prevent direct split-pakcage installation and hide bpm file information when using -y #2
6
main.go
6
main.go
@ -135,8 +135,10 @@ func resolveCommand() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Could not read package\nError: %s\n", err)
|
log.Fatalf("Could not read package\nError: %s\n", err)
|
||||||
}
|
}
|
||||||
fmt.Print("----------------\n" + bpm_utils.CreateInfoFile(*pkgInfo, true))
|
if !yesAll {
|
||||||
fmt.Println("----------------")
|
fmt.Print("----------------\n" + bpm_utils.CreateInfoFile(*pkgInfo, true))
|
||||||
|
fmt.Println("----------------")
|
||||||
|
}
|
||||||
verb := "install"
|
verb := "install"
|
||||||
if pkgInfo.Type == "source" {
|
if pkgInfo.Type == "source" {
|
||||||
if _, err := os.Stat("/bin/fakeroot"); os.IsNotExist(err) {
|
if _, err := os.Stat("/bin/fakeroot"); os.IsNotExist(err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user