mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Merge pull request #247 from linuxserver/lidarr-flac2mp3-apt
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if [ -f /usr/bin/apt ]; then
|
||||||
|
apt-get update
|
||||||
|
fi
|
||||||
@@ -18,7 +18,6 @@ if [ ! -f /usr/bin/ffmpeg ]; then
|
|||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
echo "Installing ffmpeg using apt-get"
|
echo "Installing ffmpeg using apt-get"
|
||||||
apt-get update && \
|
|
||||||
apt-get -y install ffmpeg && \
|
apt-get -y install ffmpeg && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
elif [ -f /sbin/apk ]; then
|
elif [ -f /sbin/apk ]; then
|
||||||
@@ -29,7 +28,6 @@ if [ ! -f /usr/bin/ffmpeg ]; then
|
|||||||
else
|
else
|
||||||
# Unknown
|
# Unknown
|
||||||
echo "Unknown package manager. Attempting to install ffmpeg using apt-get"
|
echo "Unknown package manager. Attempting to install ffmpeg using apt-get"
|
||||||
apt-get update && \
|
|
||||||
apt-get -y install ffmpeg && \
|
apt-get -y install ffmpeg && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user