From b492fe03a3abd18af746127a4dcf71b77ce9dae2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 18 Jan 2022 17:56:26 +0000 Subject: added postinstall to run on sync --- src/verbs/sync.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/verbs/sync.py b/src/verbs/sync.py index f81716b..c1862e2 100644 --- a/src/verbs/sync.py +++ b/src/verbs/sync.py @@ -23,6 +23,7 @@ def run_post_install(config, verbose=False, root="/"): os.remove(f) done += 1 util.loading_bar(len(files), len(files), f"Run Postinstalls") + print(colors.RESET) # returns a dictionary, and duration: # key: package name @@ -162,6 +163,8 @@ def sync(args, options, config): v = options["v"] new = 0 + + run_post_install(config, verbose=options["v"], root=options["r"]) for repo in repos: if v: print(colors.LIGHT_BLACK + f"downloading package lists for {repo}...") -- cgit v1.2.1