diff options
author | graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-11-23 19:01:35 (EST) |
---|---|---|
committer | graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2010-11-23 19:01:35 (EST) |
commit | 76282e2441864414fc7548ca5685de5d4dc29c6c (patch) | |
tree | 649be8c34dcfe13cd11ac21d8b17463044e32665 /libopkg/opkg_conf.h | |
parent | 970666583189a1f2712c1baa0b8b6a40a9b71b75 (diff) |
Abort package removal if the prerm script of a package returns non zero.
This can be overridden with --force-remove.
Also, improve propagation of errors up the call stack for related errors.
From Sergey 'Jin' Bostandzhyan.
git-svn-id: http://opkg.googlecode.com/svn/trunk@587 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_conf.h')
-rw-r--r-- | libopkg/opkg_conf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/opkg_conf.h b/libopkg/opkg_conf.h index 0b163b0..af6b9ab 100644 --- a/libopkg/opkg_conf.h +++ b/libopkg/opkg_conf.h @@ -75,6 +75,7 @@ struct opkg_conf int force_removal_of_dependent_packages; int force_removal_of_essential_packages; int force_postinstall; + int force_remove; int check_signature; int nodeps; /* do not follow dependencies */ char *offline_root; |