debian: match empty as well as unset section variable
This commit is contained in:
parent
3bc4aa39fe
commit
117582adca
|
@ -477,7 +477,7 @@ EOF
|
|||
}
|
||||
|
||||
print_mod_control () {
|
||||
local m_section="${section-comm}"
|
||||
local m_section="${section:-comm}"
|
||||
cat <<EOF
|
||||
Package: freeswitch-${module_name//_/-}
|
||||
Section: ${m_section}
|
||||
|
|
Loading…
Reference in New Issue