forked from ungleich-public/cdist
__package_pkg_openbsd: support the empty flavor
Adds support for specifying an empty flavor by passing --flavor "".
This commit is contained in:
parent
7584e3c465
commit
d4f34a3f40
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ elif [ -n "$version" ]; then
|
|||
pkgid="$name-$version"
|
||||
elif [ -n "$flavor" ]; then
|
||||
pkgid="$name--$flavor"
|
||||
elif [ -f "$__object/parameter/flavor" ]; then
|
||||
pkgid="$name--"
|
||||
else
|
||||
pkgid="$name"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue