From e96227c9cc2f00cb93b34278ebac07a415e0d09b Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Fri, 28 Aug 2015 14:16:01 +0200 Subject: [PATCH] move config copy to AFTER the install --- init/20_update_plex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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