Commit 569ae299 authored by Nico Schottelius's avatar Nico Schottelius

[__package_apk] fix / add support for @yrepo syntax

parent 66cdbc52
...@@ -27,6 +27,10 @@ else ...@@ -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
......
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment