[readme-burning-isos/f19] added a simple bash script to copy and adapt the USB media creation section from the Installation Gu

Pete Travis immanetize at fedoraproject.org
Sun Jul 7 06:29:14 UTC 2013


commit 6fe61c5956e2890af2e600cfe2d6b8901acb7af1
Author: Pete Travis <immanetize at fedoraproject.org>
Date:   Sun Jul 7 00:18:36 2013 -0600

    added a simple bash script to copy and adapt the USB media creation section from the Installation Guide

 installguidesync.sh |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/installguidesync.sh b/installguidesync.sh
new file mode 100644
index 0000000..778ac54
--- /dev/null
+++ b/installguidesync.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+###
+# Copy USB media creation section from installation guide 
+# - Quick and dirty edition
+###
+
+# Where does the installation guide live on your system?
+IG_DIR=
+# Where does readme-burning-isos live on your system?
+ISOS_DIR=
+
+pushd $IG_DIR/en-US
+cp {DU-livecdtools_recommended-note-1.xml,DU-Preparing_a_driver_update_disk_ppc_x86-warning-1.xml,Important-Enable_EPEL.xml,Making_Media.xml,Making_Minimal_Boot_Media.xml,Making_USB_media.xml,Note_Nondestructive_Method.xml,Procedure-dd_Image_to_USB.xml} $ISOS_DIR/en-US/
+pushd $ISOS_DIR/en-US
+
+
+sed -i -e 's/<xref linkend="ch-new-users"\/>/<xref linkend="sect-Burning_ISO_images_to_disc-Downloading-Choosing_the_ISO_Files"\/>/' -e 's/<xref linkend="sn-which-files"\/>/<xref linkend="sect-Burning_ISO_images_to_disc-Downloading-Choosing_the_ISO_Files"\/>/' Making_USB_media.xml


More information about the docs-commits mailing list