mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-02 06:28:34 -04:00
Standardized apt-get update per aptalca
This commit is contained in:
@@ -18,7 +18,6 @@ if [ ! -f /usr/bin/mkvmerge ]; then
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
# Ubuntu
|
||||
echo "Installing MKVToolNix using apt-get"
|
||||
apt-get update && \
|
||||
apt-get -y install mkvtoolnix && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
elif [ -f /sbin/apk ]; then
|
||||
@@ -29,7 +28,6 @@ if [ ! -f /usr/bin/mkvmerge ]; then
|
||||
else
|
||||
# Unknown
|
||||
echo "Unknown package manager. Attempting to install MKVToolNix using apt-get"
|
||||
apt-get update && \
|
||||
apt-get -y install mkvtoolnix && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user