mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
scripts/get: move mirror url to projects/*/options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4802858018
commit
3869d0fb6a
@ -329,6 +329,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -330,6 +330,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -328,6 +328,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -324,6 +324,7 @@
|
|||||||
COREBOOT="no"
|
COREBOOT="no"
|
||||||
|
|
||||||
# Distribution Specific source location
|
# Distribution Specific source location
|
||||||
|
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
|
||||||
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
|
||||||
|
|
||||||
# Addon Server Url
|
# Addon Server Url
|
||||||
|
@ -35,10 +35,9 @@ if [ -n "$PKG_URL" ]; then
|
|||||||
URLS="$URLS `echo $PKG_URL | sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS%`"
|
URLS="$URLS `echo $PKG_URL | sed s%GEEXBOX_SRCS%$GEEXBOX_SRCS%`"
|
||||||
|
|
||||||
for i in $URLS; do
|
for i in $URLS; do
|
||||||
OPENELEC_MIRROR="http://sources.openelec.tv/mirror"
|
|
||||||
SOURCE_NAME="`basename $i`"
|
SOURCE_NAME="`basename $i`"
|
||||||
PACKAGE="$SOURCES/$1/$SOURCE_NAME"
|
PACKAGE="$SOURCES/$1/$SOURCE_NAME"
|
||||||
PACKAGE_MIRROR="$OPENELEC_MIRROR/$PKG_NAME/$SOURCE_NAME"
|
PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$SOURCE_NAME"
|
||||||
[ "$VERBOSE" != "yes" ] && WGET_OPT=-q
|
[ "$VERBOSE" != "yes" ] && WGET_OPT=-q
|
||||||
WGET_CMD="wget --passive-ftp --no-check-certificate -c $WGET_OPT -P $SOURCES/$1"
|
WGET_CMD="wget --passive-ftp --no-check-certificate -c $WGET_OPT -P $SOURCES/$1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user