0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 05:41:22 +00:00
2021-10-05 20:42:12 +02:00

17 lines
464 B
Makefile

PKG_NAME="lakka_update"
PKG_VERSION="0"
PKG_LICENSE="GPL"
PKG_LONGDESC="Shell script to wget the latest update"
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -v lakka-update.sh ${INSTALL}/usr/bin/lakka-update
chmod -v +x ${INSTALL}/usr/bin/lakka-update
if [ "${LAKKA_NIGHTLY}" = yes ]; then
sed -e 's|^MIRROR=.*$|MIRROR=https://nightly.builds.lakka.tv/.updater|' \
-i ${INSTALL}/usr/bin/lakka-update
fi
}