mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2025-04-26 17:41:43 +00:00
Removing wget as both curl and wget was added
This commit is contained in:
parent
c1413d0f20
commit
fb62bb1fbf
@ -11,7 +11,6 @@ RUN \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
xmlstarlet \
|
||||
uuid-runtime \
|
||||
&& \
|
||||
|
@ -7,7 +7,7 @@ fi
|
||||
|
||||
function getPref {
|
||||
local key="$1"
|
||||
|
||||
|
||||
xmlstarlet sel -T -t -m "/Preferences" -v "@${key}" -n "${prefFile}"
|
||||
}
|
||||
|
||||
@ -66,8 +66,7 @@ fi
|
||||
# Do update process
|
||||
echo "Atempting to upgrade to: ${remoteVersion}"
|
||||
rm -f /tmp/plexmediaserver*.deb
|
||||
wget -nv --show-progress --progress=bar:force:noscroll -O /tmp/plexmediaserver.deb \
|
||||
"https://plex.tv/${remoteFile}"
|
||||
curl -J -L -o /tmp/plexmediaserver.deb "https://plex.tv/${remoteFile}"
|
||||
last=$?
|
||||
|
||||
# test if deb file size is ok, or if download failed
|
||||
|
@ -12,9 +12,7 @@ if [ "${TAG}" != "plexpass" ] && [ "${TAG}" != "public" ]; then
|
||||
fi
|
||||
|
||||
echo "Atempting to install: ${remoteVersion}"
|
||||
rm -f /tmp/plexmediaserver*.deb
|
||||
wget -nv --show-progress --progress=bar:force:noscroll -O /tmp/plexmediaserver.deb \
|
||||
"https://plex.tv/${remoteFile}"
|
||||
curl -J -L -o /tmp/plexmediaserver.deb "https://plex.tv/${remoteFile}"
|
||||
last=$?
|
||||
|
||||
# test if deb file size is ok, or if download failed
|
||||
|
Loading…
x
Reference in New Issue
Block a user