Removed need for gdebi

pull/32/head
Stian Buch Larsen 9 years ago
parent 4e5532d782
commit 35658d69b0

@ -4,7 +4,7 @@ MAINTAINER Stian Larsen <lonixx@gmail.com>
# Install Plex
RUN apt-get -q update && \
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
apt-get install -qy dbus gdebi-core avahi-daemon wget && \
apt-get install -qy dbus avahi-daemon wget && \
wget -P /tmp "$PLEXURL" && \
gdebi -n /tmp/plexmediaserver_*_amd64.deb && \
rm -f /tmp/plexmediaserver_*_amd64.deb && \

@ -44,7 +44,7 @@ elif [[ "$VERSION" != "$INSTALLED" ]]; then
last=$?
done
apt-get remove --purge -y plexmediaserver
gdebi -n /tmp/plexmediaserver_"${VERSION}"_amd64.deb
dpkg -i /tmp/plexmediaserver_"${VERSION}"_amd64.deb
else
echo "No need to update!"
fi

Loading…
Cancel
Save