mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
autoupdate: add repo.conf for releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user