mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-17 17:11:47 +00:00
now notes are called notes =)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
709673d5d6
commit
9402c413da
@ -493,7 +493,7 @@ readVars(){
|
||||
# buildAssets [VAR ..]
|
||||
#
|
||||
# XXX revise: SKIP handling...
|
||||
README=README.md
|
||||
NOTES=NOTES.md
|
||||
buildAssets(){
|
||||
local template_dir=${TEMPLATE_DIR:-templates}
|
||||
local assets_dir=${ASSETS_DIR:-assets}
|
||||
@ -565,10 +565,10 @@ buildAssets(){
|
||||
| eval "sed ${PATTERNS[@]}" \
|
||||
> "${assets_dir}/${file}"
|
||||
done
|
||||
# special case: README.md...
|
||||
if [ -z "$DESCRIPTION" ] && [ -e "$README" ] ; then
|
||||
# special case: NOTES.md...
|
||||
if [ -z "$DESCRIPTION" ] && [ -e "$NOTES" ] ; then
|
||||
DESCRIPTION="$(\
|
||||
cat ${README} \
|
||||
cat ${NOTES} \
|
||||
| eval "sed ${PATTERNS[@]}")"
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user