WIP: Readd source package compilation functionality #11

Draft
EnumDev wants to merge 33 commits from readd_source_packages into develop
Showing only changes of commit f2bc7c8968 - Show all commits

View File

@ -281,12 +281,16 @@ func UpdatePackages(rootDir string, syncDatabase bool, installOptionalDependenci
if verbose { if verbose {
fmt.Println("All package databases synced successfully!") fmt.Println("All package databases synced successfully!")
} }
}
// Reload config and local databases // Reload config and local databases
err = ReadConfig() err = ReadConfig()
if err != nil { if err != nil {
return nil, fmt.Errorf("could not read BPM config: %s", err) return nil, fmt.Errorf("could not read BPM config: %s", err)
}
err = ReadLocalDatabases()
if err != nil {
return nil, fmt.Errorf("could not read local databases: %s", err)
}
} }
// Get installed packages and check for updates // Get installed packages and check for updates