Remove extra spaces
This commit is contained in:
parent
df30d2fc97
commit
f0e87369ce
|
@ -11,12 +11,12 @@ rm -f "/config/Plex Media Server/plexmediaserver.pid"
|
||||||
|
|
||||||
# Plex WebTools
|
# Plex WebTools
|
||||||
if [ ! -d "/config/Plex Media Server/Plug-ins/WebTools.bundle" ]; then
|
if [ ! -d "/config/Plex Media Server/Plug-ins/WebTools.bundle" ]; then
|
||||||
wt_tag = $(curl -sX GET "https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest" \
|
wt_tag=$(curl -sX GET "https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest" \
|
||||||
| awk '/tag_name/{print $4;exit}' FS='[""]')
|
| awk '/tag_name/{print $4;exit}' FS='[""]')
|
||||||
wget "https://github.com/ukdtom/WebTools.bundle/releases/download/$wt_tag/WebTools.bundle.zip" \
|
wget "https://github.com/ukdtom/WebTools.bundle/releases/download/$wt_tag/WebTools.bundle.zip" \
|
||||||
-O /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
-O /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
||||||
unzip /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
unzip /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
||||||
rm /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
rm -f /config/Plex\ Media\ Server/Plug-ins/WebTools.bundle.zip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec start_pms > /dev/null 2>&1
|
exec start_pms > /dev/null 2>&1
|
Loading…
Reference in New Issue