Skip to content

Commit

Permalink
Removing wget as both curl and wget was added
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleDK authored and gbooker committed Dec 25, 2016
1 parent c1413d0 commit fb62bb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ RUN \
apt-get update && \
apt-get install -y \
curl \
wget \
xmlstarlet \
uuid-runtime \
&& \
Expand Down
5 changes: 2 additions & 3 deletions root/etc/cont-init.d/50-plex-update
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fi

function getPref {
local key="$1"

xmlstarlet sel -T -t -m "/Preferences" -v "@${key}" -n "${prefFile}"
}

Expand Down Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions root/installBinary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb62bb1

Please sign in to comment.