mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
Some debhelper config files should be executable, because either: 1. debhelper should execute them (with dh-exec) instead of reading them directly. Currently we change the permissions after substitution. 2. They are included in signed-template binary packages, and lintian will complain about them being non-executable scripts. Currently we override these warnings. Replace the special case code by copying the file permissions bits from the template to the output file in substitute_debhelper_config().