diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/gonf.go | 1 | ||||
-rw-r--r-- | pkg/packages.go | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/pkg/gonf.go b/pkg/gonf.go index 7a18c91..88edf9c 100644 --- a/pkg/gonf.go +++ b/pkg/gonf.go @@ -28,7 +28,6 @@ func Resolve() (status Status) { case BROKEN: return BROKEN case REPAIRED: - packages_list_function() continue } // ----- Services ---------------------------------------------- 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 } |