index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-10-30 13:33:14 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-13 14:19:00 -0500 |
commit | 902305f1633298ff0ef7cd2bfbed0e91aae91646 (patch) | |
tree | 84b45ee05d773a42b301a98f06153a00de2b9835 /lib/libalpm/remove.c | |
parent | 64d54f674150fdcf4b925f7f27067c7ec0446863 (diff) |
-rw-r--r-- | lib/libalpm/remove.c | 4 |
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index cf137ae8..d7e06bc8 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -216,7 +216,7 @@ static int can_remove_file(alpm_handle_t *handle, const alpm_file_t *file, { char filepath[PATH_MAX]; - if(alpm_list_find_str(skip_remove, file->name)) { + if(alpm_list_find(skip_remove, file->name, _alpm_fnmatch)) { /* return success because we will never actually remove this file */ return 1; } @@ -251,7 +251,7 @@ static int unlink_file(alpm_handle_t *handle, alpm_pkg_t *oldpkg, /* check the remove skip list before removing the file. * see the big comment block in db_find_fileconflicts() for an * explanation. */ - if(alpm_list_find_str(skip_remove, fileobj->name)) { + if(alpm_list_find(skip_remove, fileobj->name, _alpm_fnmatch)) { _alpm_log(handle, ALPM_LOG_DEBUG, "%s is in skip_remove, skipping removal\n", file); return 1; |