From 35658d69b0b6195fd7a6b7413fc61b921abb82e2 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Wed, 30 Mar 2016 10:31:32 +0200 Subject: [PATCH] Removed need for gdebi --- Dockerfile | 2 +- init/30_update_plex.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b0225f..9328b15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Stian Larsen # 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 && \ diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index 4974100..1e3dccc 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -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