// Refresh Interval: Set to invalid
appdata->refresh = -1;
- // The command line repo is a virtual repository
- if (pakfire_repo_is_commandline(self))
- appdata->fs_layout = PAKFIRE_REPO_VIRT;
-
- // The build result repository is virtual, too
- else if (pakfire_string_equals(self->repo->name, PAKFIRE_REPO_RESULT))
- appdata->fs_layout = PAKFIRE_REPO_VIRT;
-
// The local build repository will have a flat layout
- else if (pakfire_string_equals(self->repo->name, PAKFIRE_REPO_LOCAL))
+ if (pakfire_string_equals(self->repo->name, PAKFIRE_REPO_LOCAL))
appdata->fs_layout = PAKFIRE_REPO_FLAT;
+ // Make any other internal repositories virtual
+ else if (pakfire_repo_is_internal(self))
+ appdata->fs_layout = PAKFIRE_REPO_VIRT;
+
// All other repositories follow the UUID format
else
appdata->fs_layout = PAKFIRE_REPO_UUID;