diff --git a/makedist.inc.sh b/makedist.inc.sh index 233b048..b8c63fd 100644 --- a/makedist.inc.sh +++ b/makedist.inc.sh @@ -164,4 +164,12 @@ rm -rf $MOUNTDIR/tmp/kde-root [ "$LANGUAGE" -a -e $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE ] && cp -a --no-preserve=ownership $TARGETDIR/platforms/$PLATFORM/root-$LANGUAGE/* $MOUNTDIR/ +# enable additional smart repositories +if [ "$SMART_CHANNELS_ENABLE" != "" ]; then + for r in $SMART_CHANNELS_ENABLE; do + chroot $MOUNTDIR smart channel --enable $r + done + echo "$SMART_CHANNELS_ENABLE" > $MOUNTDIR/etc/smart/openmamba-install-enabled-channels +fi + produce_media