From 68f97610695317483ef88c1ae0dcc08dfaab521a Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 29 May 2026 11:57:34 +0000 Subject: cleaned up the update function --- src/update_pkg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/update_pkg.c') 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 -- cgit v1.2.3