From d20734c275470d35303974767ca16c3c254dd092 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 25 Mar 2024 10:52:45 +0100 Subject: chore(packages): removed useless packages list hook function and debian stdlib refactoring --- pkg/packages.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'pkg/packages.go') 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 } -- cgit v1.2.3