move config copy to AFTER the install
This commit is contained in:
parent
75a8b8dd61
commit
e96227c9cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue