aboutsummaryrefslogtreecommitdiffstats
path: root/ci.d/apk
diff options
context:
space:
mode:
Diffstat (limited to 'ci.d/apk')
-rw-r--r--ci.d/apk10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci.d/apk b/ci.d/apk
index e622754..5918b99 100644
--- a/ci.d/apk
+++ b/ci.d/apk
@@ -9,3 +9,13 @@ apk_upgrade() {
apk_install() {
lxc_do apk add "$@"
}
+
+# apk_install_erlang
+#
+# Necessary because erlang has been split up into
+# a zillion silly packages.
+apk_install_erlang() {
+ VSN=`lxc_do apk search -x erlang | cut -d- -f 2-`
+ ERLANG=`lxc_do apk search erlang | sed s/-$VSN//`
+ lxc_do apk add $ERLANG
+}