diff --git a/fedorize_image b/fedorize_image index ba8f398..0752339 100755 --- a/fedorize_image +++ b/fedorize_image @@ -39,7 +39,8 @@ else fi -export PKGGROUPS=$(cat scripts_"${DIST}/packages.list") +PKGLISTFILE=$(shell [ -r scripts_"${DIST}/packages_$(DIST).list" ] && echo scripts_"${DIST}/packages_$(DIST).list" || echo scripts_"${DIST}/packages.list") +export PKGGROUPS=$(cat $PKGLISTFILE) echo "-> Installing package groups..." scripts_"${DIST}"/02_install_groups.sh