mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
Apply Gemini suggested changes
Signed-off-by: floatlesss <117862164+floatlesss@users.noreply.github.com>
This commit is contained in:
parent
382b80ccb4
commit
cb38d2a031
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -euo pipefail
|
||||
|
||||
# 1. Detect Architecture
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
@ -13,7 +13,7 @@ case $ARCH in
|
||||
DOWNLOAD_ARCH="linux-arm64"
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported architecture: $ARCH"
|
||||
echo "Unsupported architecture: $ARCH" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@ -24,7 +24,8 @@ echo "Downloading TagLib for ${ARCH} from ${URL}"
|
||||
|
||||
wget "$URL" -O /tmp/cross-taglib.tar.gz
|
||||
sudo tar -xzf /tmp/cross-taglib.tar.gz -C /usr --strip-components=1
|
||||
sudo mv /usr/include/taglib/* /usr/include
|
||||
sudo mv /usr/include/taglib/* /usr/include/
|
||||
sudo rmdir /usr/include/taglib
|
||||
sudo rm /tmp/cross-taglib.tar.gz /usr/provenance.json
|
||||
|
||||
echo "TagLib installation complete"
|
||||
Loading…
x
Reference in New Issue
Block a user