aboutsummaryrefslogtreecommitdiff
path: root/src/update_pkg.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-28 08:44:32 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-28 08:44:32 +0000
commit1ffeb80f86809931d5d06b231d1dfab44bcd52d4 (patch)
tree89c5c9ea6bdec811e5a32377e6d3c49c8603436b /src/update_pkg.c
parent2561ad4095ad33127b55ac7627f28e1bcc3e642f (diff)
added on_update for global updates and specific targets
Diffstat (limited to 'src/update_pkg.c')
-rw-r--r--src/update_pkg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/update_pkg.c b/src/update_pkg.c
index ea6a20d..cbe7521 100644
--- a/src/update_pkg.c
+++ b/src/update_pkg.c
@@ -40,4 +40,5 @@ void update_pkg(Pkg pkg) {
print_pkgit, green, pkg.name, color_reset
);
install_pkg(pkg);
+ target_loop_on_update(get_lua_state(), "init.lua", pkg.target);
} \ No newline at end of file