-}
-
-function sudoers_bootcustom_apache () {
- cat <<EOF
-User_Alias WWW = %apache,%root
-Cmnd_Alias BOOTCUSTOM = /usr/share/bootcd/bootcustom.sh
-WWW ALL = NOPASSWD: BOOTCUSTOM
-EOF
-}
-
-# quick and dirty - might break anytime if docbook html output changes
-function docbook_html_to_drupal () {
- title=$1; shift
- html=$1; shift
- php=$1; shift
-
- mkdir -p $(dirname $php)
- if [ ! -f $html ] ; then
- cat << __header_no_doc__ > $php
-<?php
-require_once 'plc_drupal.php';
-drupal_set_title("$title - unavailable");
-?>
-<p class='plc-warning'> Build-time error - could not locate documentation $html</p>
-__header_no_doc__
+ template=$build_dir/mirroring/${pl_DISTRO_NAME}/yum.repos.d/building.repo.in
+ if [ ! -f $template ] ; then
+ echo "# MyPLC/$0: cannot find template $template"