new: add remove operation
This commit is contained in:
@ -20,10 +20,7 @@ bool lm_database_changes_update(lm_database_t *db, lm_pkg_t *pkg, char *file){
|
||||
char changes_path[strlen(db->dir)+sizeof(changes_file)];
|
||||
join(changes_path, db->dir, changes_file);
|
||||
|
||||
if(!copy_file(changes_path, file))
|
||||
return false; // error set by function
|
||||
|
||||
return true;
|
||||
return copy_file(changes_path, file);
|
||||
}
|
||||
|
||||
bool lm_database_changes_del(lm_database_t *db, lm_pkg_t *pkg){
|
||||
|
Reference in New Issue
Block a user