Prevent direct split-pakcage installation and hide bpm file information when using -y #2

Merged
EnumDev merged 2 commits from develop into master 2024-07-12 16:04:05 +00:00
Showing only changes of commit 23f9a13939 - Show all commits

View File

@ -135,8 +135,10 @@ func resolveCommand() {
if err != nil {
log.Fatalf("Could not read package\nError: %s\n", err)
}
if !yesAll {
fmt.Print("----------------\n" + bpm_utils.CreateInfoFile(*pkgInfo, true))
fmt.Println("----------------")
}
verb := "install"
if pkgInfo.Type == "source" {
if _, err := os.Stat("/bin/fakeroot"); os.IsNotExist(err) {