diff options
author | Allan McRae <allan@archlinux.org> | 2011-06-28 06:39:43 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-06-28 15:28:23 +0200 |
commit | cd1e39ba62ea564c1c29a918aa1a4d6aac9a351e (patch) | |
tree | 48878228b113af5520b72d27770499f13b65d284 /lib/libalpm/remove.c | |
parent | bfe1771067e372420d857094befd6c6ea5b28495 (diff) | |
download | pacman-cd1e39ba62ea564c1c29a918aa1a4d6aac9a351e.tar.gz pacman-cd1e39ba62ea564c1c29a918aa1a4d6aac9a351e.tar.xz |
Rename pmbackup_t to alpm_backup_t
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 3412774b..86571a4f 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -254,7 +254,7 @@ static void unlink_file(alpm_handle_t *handle, alpm_pkg_t *info, const char *fil } } else { /* if the file needs backup and has been modified, back it up to .pacsave */ - pmbackup_t *backup = _alpm_needbackup(filename, alpm_pkg_get_backup(info)); + alpm_backup_t *backup = _alpm_needbackup(filename, alpm_pkg_get_backup(info)); if(backup) { if(nosave) { _alpm_log(handle, PM_LOG_DEBUG, "transaction is set to NOSAVE, not backing up '%s'\n", file); @@ -307,7 +307,7 @@ int _alpm_upgraderemove_package(alpm_handle_t *handle, /* old package backup list */ alpm_list_t *filelist = alpm_pkg_get_files(newpkg); for(b = alpm_pkg_get_backup(newpkg); b; b = b->next) { - const pmbackup_t *backup = b->data; + const alpm_backup_t *backup = b->data; /* safety check (fix the upgrade026 pactest) */ if(!alpm_list_find_str(filelist, backup->name)) { continue; |