Merge pull request #562 from uqam-fob/pkg-openbsd-empty-flavor

__package_pkg_openbsd: support the empty flavor
This commit is contained in:
Darko Poljak 2017-08-27 14:20:48 +02:00 committed by GitHub
commit 4aeba7d7a7

View file

@ -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