liquid_feedback_frontend
annotate env/lf4rcs/get_config.lua @ 1308:7ea154c9238a
Added libbsd-dev and postgresql server-dev package to list of necessary packages to be installed for compiling/running on Debian
| author | jbe |
|---|---|
| date | Thu Jun 23 03:30:57 2016 +0200 (2016-06-23) |
| parents | 30523f31b186 |
| children |
| rev | line source |
|---|---|
| bsw@1219 | 1 function lf4rcs.get_config(unit) |
| bsw@1219 | 2 if not unit.external_reference then |
| bsw@1219 | 3 error("Unit is not configured for lf4rcs") |
| bsw@1219 | 4 end |
| bsw@1219 | 5 local repository, path, url = string.match(unit.external_reference, "([^ ]+) ([^ ]+) (.*)") |
| bsw@1219 | 6 return repository, path, url |
| bsw@1219 | 7 end |
| bsw@1219 | 8 |