diff options
author | Guillem Jover <guillem@debian.org> | 2014-06-02 00:52:37 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-06-02 00:52:37 +0200 |
commit | 224d0246bb59e5066de6693a18bf8654dafa135d (patch) | |
tree | 4a22019f6910057d65c004129945694d1203bbce /src/cleanup.c | |
parent | 2240b13459eb24c653a0c1d88987076cfaaf19ef (diff) | |
download | dpkg-224d0246bb59e5066de6693a18bf8654dafa135d.tar.gz |
libdpkg: Uppercase and namespace pkgeflag enum values
Diffstat (limited to 'src/cleanup.c')
-rw-r--r-- | src/cleanup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cleanup.c b/src/cleanup.c index 3f7f09318..b4acb3e01 100644 --- a/src/cleanup.c +++ b/src/cleanup.c @@ -3,7 +3,7 @@ * cleanup.c - cleanup functions, used when we need to unwind * * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk> - * Copyright © 2007-2012 Guillem Jover <guillem@debian.org> + * Copyright © 2007-2014 Guillem Jover <guillem@debian.org> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -118,7 +118,7 @@ void cu_prermupgrade(int argc, void **argv) { maintscript_postinst(pkg, "abort-upgrade", versiondescribe(&pkg->available.version, vdew_nonambig), NULL); - pkg_clear_eflags(pkg, eflag_reinstreq); + pkg_clear_eflags(pkg, PKG_EFLAG_REINSTREQ); post_postinst_tasks(pkg, stat_installed); cleanup_pkg_failed--; } @@ -179,7 +179,7 @@ void cu_prerminfavour(int argc, void **argv) { versiondescribe(&infavour->available.version, vdew_nonambig), NULL); - pkg_clear_eflags(conflictor, eflag_reinstreq); + pkg_clear_eflags(conflictor, PKG_EFLAG_REINSTREQ); post_postinst_tasks(conflictor, stat_installed); cleanup_conflictor_failed--; } @@ -193,7 +193,7 @@ void cu_preinstverynew(int argc, void **argv) { maintscript_new(pkg, POSTRMFILE, "post-removal", cidir, cidirrest, "abort-install", NULL); pkg_set_status(pkg, stat_notinstalled); - pkg_clear_eflags(pkg, eflag_reinstreq); + pkg_clear_eflags(pkg, PKG_EFLAG_REINSTREQ); pkgbin_blank(&pkg->installed); modstatdb_note(pkg); cleanup_pkg_failed--; @@ -210,7 +210,7 @@ void cu_preinstnew(int argc, void **argv) { versiondescribe(&pkg->installed.version, vdew_nonambig), NULL); pkg_set_status(pkg, stat_configfiles); - pkg_clear_eflags(pkg, eflag_reinstreq); + pkg_clear_eflags(pkg, PKG_EFLAG_REINSTREQ); modstatdb_note(pkg); cleanup_pkg_failed--; } @@ -227,7 +227,7 @@ void cu_preinstupgrade(int argc, void **argv) { versiondescribe(&pkg->installed.version, vdew_nonambig), NULL); pkg_set_status(pkg, *oldstatusp); - pkg_clear_eflags(pkg, eflag_reinstreq); + pkg_clear_eflags(pkg, PKG_EFLAG_REINSTREQ); modstatdb_note(pkg); cleanup_pkg_failed--; } @@ -249,7 +249,7 @@ void cu_prermremove(int argc, void **argv) { if (cleanup_pkg_failed++) return; maintscript_postinst(pkg, "abort-remove", NULL); - pkg_clear_eflags(pkg, eflag_reinstreq); + pkg_clear_eflags(pkg, PKG_EFLAG_REINSTREQ); post_postinst_tasks(pkg, *oldpkgstatus); cleanup_pkg_failed--; } |