From d057a68a837d278f5dfe55a5dc3c4998e4f126f5 Mon Sep 17 00:00:00 2001 From: dacctal Date: Thu, 11 Jun 2026 20:07:13 +0000 Subject: cpdir checkpoint --- src/update_all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/update_all.c') diff --git a/src/update_all.c b/src/update_all.c index 2d941eb..521b1d1 100644 --- a/src/update_all.c +++ b/src/update_all.c @@ -20,13 +20,13 @@ void update_all() { struct dirent* dirent_ptr; DIR* dir_ptr; if ((dir_ptr = opendir(get_install_dir("src"))) == NULL) { - fprintf(stderr, "%scould not open %s\n", print_pkgit, get_install_dir("src")); + fprintf(stderr, "%s could not open %s\n", print_pkgit, get_install_dir("src")); } while ((dirent_ptr = readdir(dir_ptr)) != NULL) { if (strcmp(dirent_ptr->d_name, "..") == 0 || strcmp(dirent_ptr->d_name, ".") == 0) continue; for (size_t i = 0; i < cached_repos_count; i++) { if (!strcmp(dirent_ptr->d_name, cached_repos[i].source_key) == 0) continue; - Pkg pkg = create_pkg(cached_repos[i].source_value, "default"); + Pkg pkg = create_pkg(cached_repos[i].source_value); update_pkg(pkg); } } -- cgit v1.2.3