chore(packages): removed useless packages list hook function and debian stdlib refactoring
This commit is contained in:
parent
fe8d8027b3
commit
d20734c275
4 changed files with 39 additions and 33 deletions
|
@ -7,7 +7,6 @@ var packages []*PackagePromise
|
|||
|
||||
// packages management functions
|
||||
var packages_install_function func([]string) (Status, []string)
|
||||
var packages_list_function func()
|
||||
var packages_update_function *CommandPromise
|
||||
|
||||
// ----- Init ------------------------------------------------------------------
|
||||
|
@ -16,9 +15,8 @@ func init() {
|
|||
}
|
||||
|
||||
// ----- Public ----------------------------------------------------------------
|
||||
func SetPackagesConfiguration(install func([]string) (Status, []string), list func(), update *CommandPromise) {
|
||||
func SetPackagesConfiguration(install func([]string) (Status, []string), update *CommandPromise) {
|
||||
packages_install_function = install
|
||||
packages_list_function = list
|
||||
packages_update_function = update
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue