Removing wget as both curl and wget was added

This commit is contained in:
Kalle Møller 2016-12-25 21:31:56 +01:00 committed by Graham Booker
parent c1413d0f20
commit fb62bb1fbf
3 changed files with 3 additions and 7 deletions

View File

@ -11,7 +11,6 @@ RUN \
apt-get update && \
apt-get install -y \
curl \
wget \
xmlstarlet \
uuid-runtime \
&& \

View File

@ -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

View File

@ -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