Update setup.bash
This commit is contained in:
parent
aa6359afea
commit
c58b070b09
1 changed files with 21 additions and 18 deletions
|
@ -50,11 +50,16 @@ chmod g+w ${SMA_PATH}/config/sma.log && \
|
||||||
echo "************ install pip dependencies ************" && \
|
echo "************ install pip dependencies ************" && \
|
||||||
python3 -m pip install --break-system-packages --upgrade pip && \
|
python3 -m pip install --break-system-packages --upgrade pip && \
|
||||||
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt || true
|
pip3 install --break-system-packages -r ${SMA_PATH}/setup/requirements.txt || true
|
||||||
|
|
||||||
|
echo "************ install qtfaststart ************"
|
||||||
|
pip3 install qtfaststart || echo "qtfaststart installation failed, continuing..."
|
||||||
|
|
||||||
echo "************ install recyclarr ************" && \
|
echo "************ install recyclarr ************" && \
|
||||||
mkdir -p /recyclarr && \
|
mkdir -p /recyclarr && \
|
||||||
wget "https://github.com/recyclarr/recyclarr/releases/latest/download/recyclarr-linux-musl-x64.tar.xz" -O "/recyclarr/recyclarr.tar.xz" && \
|
wget "https://github.com/recyclarr/recyclarr/releases/latest/download/recyclarr-linux-musl-x64.tar.xz" -O "/recyclarr/recyclarr.tar.xz" && \
|
||||||
tar -xf /recyclarr/recyclarr.tar.xz -C /recyclarr &>/dev/null && \
|
tar -xf /recyclarr/recyclarr.tar.xz -C /recyclarr &>/dev/null && \
|
||||||
chmod 777 /recyclarr/recyclarr
|
chmod 777 /recyclarr/recyclarr
|
||||||
|
|
||||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community dotnet8-runtime
|
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community dotnet8-runtime
|
||||||
|
|
||||||
mkdir -p /custom-services.d
|
mkdir -p /custom-services.d
|
||||||
|
@ -83,7 +88,6 @@ echo "Download Script Functions..."
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
|
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/universal/functions.bash -o /config/extended/functions
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
|
|
||||||
if [ ! -f /config/extended/naming.json ]; then
|
if [ ! -f /config/extended/naming.json ]; then
|
||||||
echo "Download Naming script..."
|
echo "Download Naming script..."
|
||||||
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
|
curl https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/radarr/naming.json -o /config/extended/naming.json
|
||||||
|
@ -122,7 +126,6 @@ if [ ! -f /config/extended.conf ]; then
|
||||||
echo "Done"
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
chmod 777 -R /config/extended
|
chmod 777 -R /config/extended
|
||||||
if [ -f /custom-services.d/scripts_init.bash ]; then
|
if [ -f /custom-services.d/scripts_init.bash ]; then
|
||||||
# user misconfiguration detected, sleeping...
|
# user misconfiguration detected, sleeping...
|
||||||
|
|
Loading…
Reference in a new issue