Commit 3669bbf
committed
fix(go): always update version symlink on cycle upgrade
The go1.XX symlink (e.g. go1.25 -> go1.25.8) was only created when
it didn't exist. On patch upgrades the stale symlink was preserved,
so go1.25 still pointed at go1.25.7 after installing go1.25.8,
causing the upgrade to appear failed (version unchanged).
Change the condition from [ ! -e ] to unconditional ln -sf.
Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>1 parent d4e2302 commit 3669bbf
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments