mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
autoupdate: add repo.conf for releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
77f97b8019
commit
436a24ee09
8
packages/tools/autoupdate/config/repo.conf.release
Normal file
8
packages/tools/autoupdate/config/repo.conf.release
Normal file
@ -0,0 +1,8 @@
|
||||
# Location of repo
|
||||
UPDATEURL="http://releases.openelec.tv"
|
||||
|
||||
# Setup Download tool (wget/scp)
|
||||
DL_METHOD="wget"
|
||||
|
||||
# Keyfile to use (with scp method)
|
||||
KEYFILE=""
|
@ -3,7 +3,7 @@
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
if [ "$DEVTOOLS" = "yes" ]; then
|
||||
if [ "$OPENELEC_VERSION" = devel ]; then
|
||||
cp $PKG_DIR/scripts/autoupdate.devel $INSTALL/usr/bin/autoupdate
|
||||
else
|
||||
cp $PKG_DIR/scripts/autoupdate.release $INSTALL/usr/bin/autoupdate
|
||||
@ -13,7 +13,11 @@ mkdir -p $INSTALL/etc
|
||||
if [ -f $PROJECT_DIR/$PROJECT/autoupdate/repo.conf ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/autoupdate/repo.conf $INSTALL/etc
|
||||
else
|
||||
cp $PKG_DIR/config/repo.conf $INSTALL/etc
|
||||
if [ "$OPENELEC_VERSION" = devel ]; then
|
||||
cp $PKG_DIR/config/repo.conf.devel $INSTALL/etc/repo.conf
|
||||
else
|
||||
cp $PKG_DIR/config/repo.conf.release $INSTALL/etc/repo.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f $PROJECT_DIR/$PROJECT/autoupdate/update.key.db ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user