]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Use function to check repo name
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 22:53:49 +0000 (22:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 22:53:49 +0000 (22:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/repo.c

index e1d877557774e18501bf117c35cf839ec20eb6dd..1f2367167a862f27cb64fb322097319657cc8441 100644 (file)
@@ -845,7 +845,7 @@ static int pakfire_repo_setup_appdata(struct pakfire_repo* self) {
        appdata->refresh = -1;
 
        // The local build repository will have a flat layout
-       if (pakfire_string_equals(self->repo->name, PAKFIRE_REPO_LOCAL))
+       if (pakfire_repo_name_equals(self, PAKFIRE_REPO_LOCAL))
                appdata->fs_layout = PAKFIRE_REPO_FLAT;
 
        // Make any other internal repositories virtual