summaryrefslogtreecommitdiff
path: root/src/verbs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 17:56:26 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 17:56:26 +0000
commitb492fe03a3abd18af746127a4dcf71b77ce9dae2 (patch)
treeb670f13951dd9c0002f99ffe0c7497f099cf7769 /src/verbs
parentfaf46debf64a6721084d753f3475c2f9e7d2100f (diff)
added postinstall to run on sync
Diffstat (limited to 'src/verbs')
-rw-r--r--src/verbs/sync.py3
1 files changed, 3 insertions, 0 deletions
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}...")