Commit ac37cc67 authored by Joanne Hugé's avatar Joanne Hugé

software/ors-amarisoft: use most recent amarisoft version

parent 31b636fe
......@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum = 3feff73b667736dabb394e415077d226
md5sum = 270f738ca2ed4438868d97a0fb05269e
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
......
......@@ -31,8 +31,8 @@ context =
[amarisoft]
recipe = slapos.recipe.build
init =
import os
lte_version = "2022-10-27"
import os, re
lte_version = sorted(filter(lambda x: re.match(r"v[0-9]{4}-[0-9]{2}-[0-9]{2}", x), os.listdir('/opt/amarisoft')))[-1][1:]
path = "/opt/amarisoft/v" + lte_version
options['lte-version'] = lte_version
options['path'] = path
......
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