Skip to content

Commit dc82242

Browse files
committed
Merge pull request #24 from ninpucho/patch-1
This closes #25
2 parents cf11595 + 8c5d780 commit dc82242

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

init/30_update_plex.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ else
2323
fi
2424

2525
last=130
26-
if [[ "$VERSION" != "$INSTALLED" ]]; then
26+
if [[ "$VERSION" == "" ]]; then
27+
echo "ERROR: No version found, running installed version $INSTALLED"
28+
elif [[ "$VERSION" != "$INSTALLED" ]]; then
2729
echo "Upgrading from version: $INSTALLED to version: $VERSION"
2830
while [[ $last -ne "0" ]]; do
2931
rm -f /tmp/plexmediaserver_*.deb

0 commit comments

Comments
 (0)