From: Michael Tremer Date: Thu, 30 Jan 2025 22:53:49 +0000 (+0000) Subject: repo: Use function to check repo name X-Git-Tag: 0.9.30~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21a8d4e901c9cb3e5c80a4a7a6af0b8c421d100a;p=pakfire.git repo: Use function to check repo name Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/repo.c b/src/pakfire/repo.c index e1d87755..1f236716 100644 --- a/src/pakfire/repo.c +++ b/src/pakfire/repo.c @@ -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