diff options
author | Julien Dessaux | 2024-03-25 10:52:45 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-03-25 10:52:45 +0100 |
commit | d20734c275470d35303974767ca16c3c254dd092 (patch) | |
tree | 423ba7ee90e81327b68f0f69a8a9fa548e91a336 /pkg/packages.go | |
parent | fix(promises): fixed IfRepaired promises chaining (diff) | |
download | gonf-d20734c275470d35303974767ca16c3c254dd092.tar.gz gonf-d20734c275470d35303974767ca16c3c254dd092.tar.bz2 gonf-d20734c275470d35303974767ca16c3c254dd092.zip |
chore(packages): removed useless packages list hook function and debian stdlib refactoring
Diffstat (limited to 'pkg/packages.go')
-rw-r--r-- | pkg/packages.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/packages.go b/pkg/packages.go index 75346eb..fdce87c 100644 --- a/pkg/packages.go +++ b/pkg/packages.go @@ -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 } |