Removed need for gdebi

This commit is contained in:
Stian Buch Larsen 2016-03-30 10:31:32 +02:00
parent 4e5532d782
commit 35658d69b0
2 changed files with 2 additions and 2 deletions

View file

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

View file

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