Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
972c9f8860 fix(tools): correct PATH escaping in ROCm profile script
The heredoc uses a quoted delimiter (ENVEOF) which disables variable expansion, but the content had backslash-escaped dollar signs. This wrote literal backslashes into /etc/profile.d/rocm.sh, causing PATH corruption. Remove the unnecessary backslashes since the quoted heredoc already prevents expansion during write.

Closes #12755
2026-03-12 08:39:29 +01:00
community-scripts-pr-app[bot]
5abd9170ba chore: update github-versions.json (#12791)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-12 06:19:42 +00:00
2 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
{
"generated": "2026-03-12T00:18:31Z",
"generated": "2026-03-12T06:19:33Z",
"versions": [
{
"slug": "2fauth",
@@ -620,9 +620,9 @@
{
"slug": "jackett",
"repo": "Jackett/Jackett",
"version": "v0.24.1341",
"version": "v0.24.1350",
"pinned": false,
"date": "2026-03-11T05:55:00Z"
"date": "2026-03-12T06:03:33Z"
},
{
"slug": "jellystat",
@@ -739,9 +739,9 @@
{
"slug": "leantime",
"repo": "Leantime/leantime",
"version": "v3.7.1",
"version": "v3.7.3",
"pinned": false,
"date": "2026-02-22T01:25:16Z"
"date": "2026-03-12T01:53:56Z"
},
{
"slug": "librenms",

View File

@@ -4653,8 +4653,8 @@ EOF
# Environment (PATH + LD_LIBRARY_PATH)
if [[ -d /opt/rocm ]]; then
cat <<'ENVEOF' >/etc/profile.d/rocm.sh
export PATH="\$PATH:/opt/rocm/bin"
export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH:+\$LD_LIBRARY_PATH:}/opt/rocm/lib"
export PATH="$PATH:/opt/rocm/bin"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/rocm/lib"
ENVEOF
chmod +x /etc/profile.d/rocm.sh
# Also make available for current session / systemd services