gluon/scripts/modules.sh
Matthias Schiffer 63c16c01a0
scripts: move DEFAULT_FEEDS definition to a separate file
modules.sh can't depend on openwrt/feeds.conf.default, otherwise the
initial update will fail.
2018-07-11 21:47:50 +02:00

11 lines
237 B
Bash

. ./modules
[ ! -f "$GLUON_SITEDIR"/modules ] || . "$GLUON_SITEDIR"/modules
FEEDS="$(echo $GLUON_FEEDS $GLUON_SITE_FEEDS | tr ' ' '\n')"
GLUON_MODULES=openwrt
for feed in $FEEDS; do
GLUON_MODULES="$GLUON_MODULES packages/$feed"
done