I am currently exploring Debian packages, and I have been reading some code samples. And on every line in, for example, the postinst
script is a pattern.
some command || true
another command || true
So if some command fails, then the line returns true but I don't see how this affects the output of the program. Usually in these scripts there is a
set -e
at the beginning.