Automatically optaining version number for config tree format.
This commit is contained in:
parent
4df03e2012
commit
e0209bb337
|
@ -10,5 +10,6 @@
|
|||
PROGRAM="$(basename ${0})"
|
||||
PACKAGE="live-helper"
|
||||
VERSION="1.0.5-2"
|
||||
CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')"
|
||||
|
||||
PATH="${PWD}/scripts:${PATH}"
|
||||
|
|
|
@ -783,7 +783,7 @@ cat > config/common << EOF
|
|||
# config/common - common options for live-helper(7)
|
||||
|
||||
# LH_CONFIG_VERSION: internal version of the configuration file format
|
||||
LH_CONFIG_VERSION="1"
|
||||
LH_CONFIG_VERSION="${CONFIG_VERSION}"
|
||||
|
||||
# \$LH_APT: set package manager
|
||||
# (Default: ${LH_APT})
|
||||
|
|
Loading…
Reference in New Issue