aboutsummaryrefslogtreecommitdiff
path: root/src/update_all.c
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-06-11 20:07:13 +0000
committerdacctal <dacctal@symlinx.net>2026-06-11 20:07:13 +0000
commitd057a68a837d278f5dfe55a5dc3c4998e4f126f5 (patch)
tree2ab65bbca01943bbfc36bade64b20771f7e28da9 /src/update_all.c
parent12fc304f6627dabb2e907582b1ea724c9cad2297 (diff)
cpdir checkpoint
Diffstat (limited to 'src/update_all.c')
-rw-r--r--src/update_all.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}