summaryrefslogtreecommitdiff
path: root/setup-mta.in
AgeCommit message (Collapse)Author
2022-11-06always quote vars in 'local' assignmentJakub Jirutka
Some shells may apply word splitting after expanding variable in `local a=$1`. I know just about yash, but since `local` is supposed to be a builtin *command*, the "correct" behaviour of common shells is actually a special case for `local` - it doesn't apply for other commands. See https://osdn.net/projects/yash/ticket/46041.
2022-11-05replace 'echo -n' and 'echo -e' with printfJakub Jirutka
'echo -n' and 'echo -e' are not portable, not all commonly used shells support both of them (in the same way). 'echo -e' is not even defined in POSIX. https://pubs.opengroup.org/onlinepubs/009604599/utilities/echo.html: > New applications are encouraged to use printf instead of echo. > ... > Conforming applications that wish to do prompting without <newline>s > or that could possibly be expecting to echo a -n, should use the > printf utility derived from the Ninth Edition system.
2022-05-13setup-mta: add usage help textNatanael Copa
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-01-08setup-mta: cleanup. use askNatanael Copa
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2014-04-23fix permissionsNatanael Copa
2011-10-24Use 'apk <cmd>' instead of apk_<cmd>Natanael Copa
2009-05-06move to .in filesNatanael Copa