Abort package removal if the prerm script of a package returns non zero.
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 24 Nov 2010 00:01:35 +0000 (00:01 +0000)
committergraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Wed, 24 Nov 2010 00:01:35 +0000 (00:01 +0000)
commit76282e2441864414fc7548ca5685de5d4dc29c6c
tree649be8c34dcfe13cd11ac21d8b17463044e32665
parent970666583189a1f2712c1baa0b8b6a40a9b71b75
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
libopkg/opkg_conf.h
libopkg/opkg_remove.c
src/opkg-cl.c