Commit ef8df7c
fix: create multiflexi.env from database.env when it does not exist
update-multiflexi-env only synced keys into multiflexi.env when it
already existed, doing nothing on fresh installs where only
multiflexi-sqlite (not the full multiflexi web app) is present.
Now it copies database.env to multiflexi.env when the latter is missing,
so multiflexi-cli can find its config immediately after the database
backend is configured.
Also call update-multiflexi-env from multiflexi-sqlite.postinst right
after dbc_go creates database.env, so the ordering is correct: sqlite
postinst creates database.env → update-multiflexi-env creates
multiflexi.env → dependent packages' postinst scripts can call
multiflexi-cli successfully.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 59050d1 commit ef8df7c
2 files changed
Lines changed: 22 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments