Skip to content

Commit e8fc6a5

Browse files
CopilotJoulinar
andcommitted
Fix uv extraction path and add g++ dependency for Immich ML install
Co-authored-by: Joulinar <47155374+Joulinar@users.noreply.github.com>
1 parent 7887f24 commit e8fc6a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dietpi/dietpi-software

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12212,9 +12212,10 @@ _EOF_
1221212212
local arch='x86_64'
1221312213
(( $G_HW_ARCH == 3 )) && arch='aarch64'
1221412214
local fallback_url="https://github.com/astral-sh/uv/releases/download/0.8.15/uv-$arch-unknown-linux-gnu.tar.gz"
12215+
aDEPS=('g++')
1221512216
Download_Install "$(curl -sSfL 'https://api.github.com/repos/astral-sh/uv/releases/latest' | mawk -F\" "/^ *\"browser_download_url\": \".*\/uv-$arch-unknown-linux-gnu\.tar\.gz\"$/{print \$4}")"
12216-
G_EXEC mv uv /usr/local/bin/uv
12217-
G_EXEC rm -f uvx
12217+
G_EXEC mv "uv-$arch-unknown-linux-gnu/uv" /usr/local/bin/uv
12218+
G_EXEC rm -Rf "uv-$arch-unknown-linux-gnu"
1221812219

1221912220
# Install Python dependencies into a virtual environment
1222012221
# NB: Python 3 (dep 130) provides Python >= 3.11 on Bookworm and Trixie, satisfying the ML requirement

0 commit comments

Comments
 (0)