Add master fallback for web build
This commit is contained in:
parent
e40c82be88
commit
4fc2bd56ee
|
@ -3,7 +3,9 @@ VERSION := $(shell sed -ne '/^Version:/s/.* *//p' \
|
|||
|
||||
deployment/fedora-package-x64/pkg-src/jellyfin-web-$(VERSION).tar.gz:
|
||||
curl -f -L -o deployment/fedora-package-x64/pkg-src/jellyfin-web-$(VERSION).tar.gz \
|
||||
https://github.com/jellyfin/jellyfin-web/archive/v$(VERSION).tar.gz
|
||||
https://github.com/jellyfin/jellyfin-web/archive/v$(VERSION).tar.gz \
|
||||
|| curl -f -L -o deployment/fedora-package-x64/pkg-src/jellyfin-web-$(VERSION).tar.gz \
|
||||
https://github.com/jellyfin/jellyfin-web/archive/master.tar.gz \
|
||||
|
||||
srpm: deployment/fedora-package-x64/pkg-src/jellyfin-web-$(VERSION).tar.gz
|
||||
cd deployment/fedora-package-x64; \
|
||||
|
|
|
@ -53,7 +53,7 @@ Jellyfin is a free software media system that puts you in control of managing an
|
|||
%autosetup -n %{name}-%{version} -b 0 -b 1
|
||||
web_build_dir="$(mktemp -d)"
|
||||
web_target="$PWD/MediaBrowser.WebDashboard/jellyfin-web"
|
||||
pushd ../jellyfin-web-%{version}
|
||||
pushd ../jellyfin-web-%{version} || pushd ../jellyfin-web-master
|
||||
%if 0%{?fedora}
|
||||
nodejs-yarn install
|
||||
%else
|
||||
|
|
Loading…
Reference in New Issue
Block a user