webapp-config shouldnt need to use /tmp or tempfiles the fn_remove_emptylines() function can be rewritten in one line: fn_remove_emptylines () { sed -i -e '/^$/d' "$1" } the fn_show_postinst() function is a bit trickier and i really have no idea how it works exactly, but i'm pretty sure it too can be rewritten to not use temp files ... how's this ? fn_show_postinst () { if [ ! -f "${MY_APPDIR}/postinst-en.txt" ]; then return fi fn_run_vars echo eval echo $(<"${MY_APPDIR}/postinst-en.txt") echo }
Thanks. I've added those into webapp-config; they'll appear in webapp-config- 1.10-r15. Best regards, Stu