diff --git a/init/20_update_plex.sh b/init/20_update_plex.sh index 0fb1a3c..5cb4d7d 100644 --- a/init/20_update_plex.sh +++ b/init/20_update_plex.sh @@ -25,9 +25,9 @@ if [[ "$VERSION" != "$INSTALLED " ]]; then wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" last=$? done - cp -v /defaults/plexmediaserver /etc/default/plexmediaserver apt-get remove --purge -y plexmediaserver gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb + cp -v /defaults/plexmediaserver /etc/default/plexmediaserver else echo "Allready Uptodate" fi