-if [ -z "$ROOTCMD" ] ; then
- echo "variable \$ROOTCMD not set, exiting to avoid any possible damage">&2
- exit 1
-fi
-
-# use full locales setup only in classes GRML_FULL and LOCALES
-if ifclass GRML_FULL || ifclass LOCALES ; then
- echo 'Using /etc/locale.gen.grml for locales generation'
- cp $target/etc/locale.gen.grml $target/etc/locale.gen
-else
- echo 'Using /etc/locale.gen.minimal for locales generation'
- cp $target/etc/locale.gen.minimal $target/etc/locale.gen
-fi
+# set up /etc/locale.gen, only GRML_FULL and LOCALES have
+# the full setup, GRMLBASE installs a minimal configuration
+fcopy /etc/locale.gen