bug dans apacheconfig
This commit is contained in:
parent
b4ade73a8f
commit
b9dc5ca71e
|
@ -750,14 +750,15 @@ function apacheconfig_initvars() {
|
||||||
|
|
||||||
function apacheconfig_loadconf() {
|
function apacheconfig_loadconf() {
|
||||||
local config modified
|
local config modified
|
||||||
local destdir="$1"
|
local destdir="$1" autocreate
|
||||||
|
|
||||||
__template_set_destdir destdir autocreate "$TEMPLATECTL_NAME" || return 1
|
__template_set_destdir destdir autocreate "$TEMPLATECTL_NAME" || return 1
|
||||||
setx config=templatectl_config "$destdir"
|
setx config=templatectl_config "$destdir"
|
||||||
modified=
|
modified=
|
||||||
templatectl_loadvars "$config" && modified=1
|
templatectl_loadvars "$config" && modified=1
|
||||||
|
|
||||||
upvar config "$config"
|
upvars config "$config" modified "$modified" \
|
||||||
|
destdir "$destdir" autocreate "$autocreate"
|
||||||
}
|
}
|
||||||
|
|
||||||
function apacheconfig_sysinfos() {
|
function apacheconfig_sysinfos() {
|
||||||
|
|
Loading…
Reference in New Issue