Automatically populating config tree when having auto/config present and lh build is called without having lh config run before.
This commit is contained in:
parent
67af4a1ce9
commit
5e3b3693ea
|
@ -12,6 +12,13 @@ set -e
|
||||||
# Including common functions
|
# Including common functions
|
||||||
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
|
||||||
|
|
||||||
|
# Automatically populating config tree
|
||||||
|
if [ -x auto/config ] && [ ! -e .stage/config ]
|
||||||
|
then
|
||||||
|
Echo_message "Automatically populating config tree."
|
||||||
|
lh config
|
||||||
|
fi
|
||||||
|
|
||||||
# Read meta config
|
# Read meta config
|
||||||
if [ "${1}" != "noautoconfig" ] && [ -x auto/build ]
|
if [ "${1}" != "noautoconfig" ] && [ -x auto/build ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue