mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
pkg-download: do not test SITE_METHOD
SITE_METHOD is always set in inner-generic-package. So, it is useless to test it in pkg-download. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4c05027327
commit
ef17d6f2cd
@ -223,12 +223,7 @@ define DOWNLOAD_INNER
|
|||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if test -n "$(1)" ; then \
|
if test -n "$(1)" ; then \
|
||||||
if test -z "$($(PKG)_SITE_METHOD)" ; then \
|
case "$($(PKG)_SITE_METHOD)" in \
|
||||||
scheme="$(call geturischeme,$(1))" ; \
|
|
||||||
else \
|
|
||||||
scheme="$($(PKG)_SITE_METHOD)" ; \
|
|
||||||
fi ; \
|
|
||||||
case "$$scheme" in \
|
|
||||||
git) $($(3)_GIT) && exit ;; \
|
git) $($(3)_GIT) && exit ;; \
|
||||||
svn) $($(3)_SVN) && exit ;; \
|
svn) $($(3)_SVN) && exit ;; \
|
||||||
cvs) $($(3)_CVS) && exit ;; \
|
cvs) $($(3)_CVS) && exit ;; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user