[__package_apk] fix / add support for @yrepo syntax

This commit is contained in:
Nico Schottelius 2019-05-14 11:47:15 +02:00
parent 66cdbc5233
commit 569ae29955
2 changed files with 7 additions and 0 deletions

View file

@ -27,6 +27,10 @@ else
name="$__object_id" name="$__object_id"
fi 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 if [ "$(apk list -I "$name")" ]; then
echo present echo present
else else

View file

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