Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385655 - webapp - allow multiple messages
Summary: webapp - allow multiple messages
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 19:41 UTC by Alon Bar-Lev
Modified: 2011-10-10 14:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev 2011-10-04 19:41:05 UTC
Hello,

Current webapp.eclass has two functions: webapp_postinst_txt, webapp_postupgrade_txt

These are capable of accepting single file for insttructions.

However there is a use (USE) case that requires supporting multiple files.

Example:

webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
use sdk && webapp_postinst_txt en "${FILESDIR}"/postinstall-sdk-en.txt

Please consider:
-    cp "${2}" "${D}/${MY_APPDIR}/postinst-${1}.txt"
+    cat ${2}" >> "${D}/${MY_APPDIR}/postinst-${1}.txt"