Browse Source

[__package_apk] fix / add support for @yrepo syntax

5.0
Nico Schottelius 4 years ago
parent
commit
569ae29955
  1. 4
      cdist/conf/type/__package_apk/explorer/state
  2. 3
      docs/changelog

4
cdist/conf/type/__package_apk/explorer/state vendored

@ -27,6 +27,10 @@ else
name="$__object_id"
fi
# Remove the @.. repo tag for finding out whether it is installed
# f.i. pass@testing => pass
name="$(echo "$name" | sed 's/@.*//')"
if [ "$(apk list -I "$name")" ]; then
echo present
else

3
docs/changelog

@ -1,6 +1,9 @@
Changelog
---------
next:
* Type __package_apk: Fix @repo handling in explorer (Nico Schottelius)
5.0.1: 2019-05-09
* Documentation: Add 'Perils of CDIST_ORDER_DEPENDENCY' sub-section (Darko Poljak)
* Build: Clean and separate end user targets into Makefile and maintainer targets into build-helper (Darko Poljak)

Loading…
Cancel
Save