Removed need for gdebi
This commit is contained in:
parent
4e5532d782
commit
35658d69b0
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue