diff --git a/packages/tools/autoupdate/config/repo.conf b/packages/tools/autoupdate/config/repo.conf.devel similarity index 100% rename from packages/tools/autoupdate/config/repo.conf rename to packages/tools/autoupdate/config/repo.conf.devel diff --git a/packages/tools/autoupdate/config/repo.conf.release b/packages/tools/autoupdate/config/repo.conf.release new file mode 100644 index 0000000000..f1eb3998e0 --- /dev/null +++ b/packages/tools/autoupdate/config/repo.conf.release @@ -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="" diff --git a/packages/tools/autoupdate/install b/packages/tools/autoupdate/install index 73951987ac..4a96ada2cf 100755 --- a/packages/tools/autoupdate/install +++ b/packages/tools/autoupdate/install @@ -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