mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 15:29:29 +00:00
+2
-1
@@ -221,7 +221,8 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int get_version_from_path(const char *abs_path) {
|
||||
int get_version_from_path(const char *abs_path)
|
||||
{
|
||||
int ret = -1;
|
||||
char *ret_str;
|
||||
|
||||
|
||||
+2
-1
@@ -899,7 +899,8 @@ struct list *files_from_bundles(struct list *bundles)
|
||||
return files;
|
||||
}
|
||||
|
||||
bool version_files_consistent(void) {
|
||||
bool version_files_consistent(void)
|
||||
{
|
||||
/*
|
||||
* Compare version numbers in state_dir/version and /usr/lib/os-release.
|
||||
* The version in /usr/lib/os-release must match or be greater than
|
||||
|
||||
Reference in New Issue
Block a user