summaryrefslogtreecommitdiff
path: root/pkg/packages.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-03-25 10:52:45 +0100
committerJulien Dessaux2024-03-25 10:52:45 +0100
commitd20734c275470d35303974767ca16c3c254dd092 (patch)
tree423ba7ee90e81327b68f0f69a8a9fa548e91a336 /pkg/packages.go
parentfix(promises): fixed IfRepaired promises chaining (diff)
downloadgonf-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 '')
-rw-r--r--pkg/packages.go4
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
}