include/package-pack: remove leading whitespace from install scripts
authorEric Fahlgren <ericfahlgren@gmail.com>
Mon, 30 Dec 2024 23:54:55 +0000 (15:54 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 10 Jan 2025 09:50:34 +0000 (10:50 +0100)
commitb52e8972968ce25026447fea3de320fb395a2f3a
tree4a4ab3e4d57e4107d4a0a199ef4730dec8850ea9
parentc113982706989c76c69e94e15abce0d316e97f6b
include/package-pack: remove leading whitespace from install scripts

Strip off initial leading blanks and tabs from scripts and script
fragments that are supplied by the package's Makefile.  Specifically,
the script included in the postrm must be left justified so that
the shebang is in the first column.

Fixes: https://github.com/openwrt/openwrt/issues/17439
Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17440
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/package-pack.mk