forked from ungleich-public/cdist
Merge pull request #562 from uqam-fob/pkg-openbsd-empty-flavor
__package_pkg_openbsd: support the empty flavor
This commit is contained in:
commit
4aeba7d7a7
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ elif [ -n "$version" ]; then
|
||||||
pkgid="$name-$version"
|
pkgid="$name-$version"
|
||||||
elif [ -n "$flavor" ]; then
|
elif [ -n "$flavor" ]; then
|
||||||
pkgid="$name--$flavor"
|
pkgid="$name--$flavor"
|
||||||
|
elif [ -f "$__object/parameter/flavor" ]; then
|
||||||
|
pkgid="$name--"
|
||||||
else
|
else
|
||||||
pkgid="$name"
|
pkgid="$name"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue