Skip to content

Commit 86b92b5

Browse files
committed
Update ubuntu build
1 parent b36e94d commit 86b92b5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

build_ubuntu.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,6 @@ build_architecture() {
3232

3333
echo "Building for architecture: $build_arch using $yazi_release"
3434

35-
rm -rf $yazi_release || true
36-
rm -f "yazi-${build_arch}-unknown-linux-musl.zip" || true
37-
38-
if ! wget "https://github.com/sxyazi/yazi/releases/download/v${YAZI_VERSION}/yazi-${yazi_release}-unknown-linux-musl.zip"; then
39-
echo "❌ Failed to download yazi binary for $build_arch"
40-
return 1
41-
fi
42-
43-
mkdir -p "$yazi_release"
44-
if ! unzip "yazi-${yazi_release}-unknown-linux-musl.zip"; then
45-
echo "❌ Failed to extract yazi binary for $yazi_release"
46-
return 1
47-
fi
48-
4935
mv yazi-${yazi_release}-unknown-linux-musl/yazi "$yazi_release"
5036
mv yazi-${yazi_release}-unknown-linux-musl/ya "$yazi_release"
5137
mv yazi-${yazi_release}-unknown-linux-musl/LICENSE "$yazi_release"

0 commit comments

Comments
 (0)