Another thing you could do as a debug exercise to better understand what is going on is to modify the maintainer scripts in question by adding the following:
- set -e
+ set -exv
-v Print shell input lines as they are read.
-x Print commands and their arguments as they are executed.
and then build a test package(instrumented) from it. It might be useful to see exactly what is happening behind the curtains.
Another thing you could do as a debug exercise to better understand what is going on is to modify the maintainer scripts in question by adding the following:
- set -e
+ set -exv
-v Print shell input lines as they are read.
-x Print commands and their arguments as they are executed.
and then build a test package( instrumented) from it. It might be useful to see exactly what is happening behind the curtains.
Hope these few tips help !
- Eric