aboutsummaryrefslogtreecommitdiff
path: root/src/update_pkg.c
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-29 11:57:34 +0000
committerdacctal <dacctal@symlinx.net>2026-05-29 11:57:34 +0000
commit68f97610695317483ef88c1ae0dcc08dfaab521a (patch)
treeaad000d0e1383968c4de07e57d9079098134182e /src/update_pkg.c
parent1503ac364343029110d675c6256d96f10fbad6e2 (diff)
cleaned up the update function
Diffstat (limited to 'src/update_pkg.c')
-rw-r--r--src/update_pkg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/update_pkg.c b/src/update_pkg.c
index c0fdd92..093f25c 100644
--- a/src/update_pkg.c
+++ b/src/update_pkg.c
@@ -7,8 +7,9 @@
void update_pkg(Pkg pkg) {
if (is_updated(pkg.src)) {
- printf("%s%s is already up to date.\n", print_skipped, pkg.name);
+ printf("%s%s%s%s is already up to date.\n", print_skipped, green, pkg.name, color_reset);
return;
}
+ printf("%sUpdating package: %s%s%s\n", print_pkgit, green, pkg.name, color_reset);
install_pkg(pkg);
} \ No newline at end of file