diff --git a/debian/bladerf-fpga-hostedx115.postinst b/debian/bladerf-fpga-hostedx115.postinst index e182c38d..b2e9ccec 100644 --- a/debian/bladerf-fpga-hostedx115.postinst +++ b/debian/bladerf-fpga-hostedx115.postinst @@ -40,6 +40,8 @@ if [ ! -s ${DATAFILE} ] || ! checkfile ${DATAFILE}; then EOMSG + # exit successfully, as otherwise the package is left + # half-configured and the surrounding install/upgrade fails exit 0 fi fi diff --git a/debian/bladerf-fpga-hostedx40.postinst b/debian/bladerf-fpga-hostedx40.postinst index 3ea8acfa..5c4ed567 100644 --- a/debian/bladerf-fpga-hostedx40.postinst +++ b/debian/bladerf-fpga-hostedx40.postinst @@ -40,6 +40,8 @@ if [ ! -s ${DATAFILE} ] || ! checkfile ${DATAFILE}; then EOMSG + # exit successfully, as otherwise the package is left + # half-configured and the surrounding install/upgrade fails exit 0 fi fi