diff options
Diffstat (limited to 'ci.d/apk')
-rw-r--r-- | ci.d/apk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 +} |