Document why postinst should succeed if the FPGA download fails
This commit is contained in:
parent
2fea0c78da
commit
00a83b8c6b
2 changed files with 4 additions and 0 deletions
2
debian/bladerf-fpga-hostedx115.postinst
vendored
2
debian/bladerf-fpga-hostedx115.postinst
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
debian/bladerf-fpga-hostedx40.postinst
vendored
2
debian/bladerf-fpga-hostedx40.postinst
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue