On Tue, May 12, 2015 at 1:43 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > On Thu, May 07, 2015 at 05:36:44PM +0100, Zeeshan Ali (Khattak) wrote: >> The fedora install script was written for and tested against installer >> DVDs so it does not work for netiso. This patch fixes the issue by >> removing the install method commands and adding remote repos if the >> media is detected to be a netiso. >> >> https://bugzilla.redhat.com/show_bug.cgi?id=1178787 >> --- >> data/install-scripts/fedora.xml | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> >> diff --git a/data/install-scripts/fedora.xml b/data/install-scripts/fedora.xml >> index c4264e5..ec37005 100644 >> --- a/data/install-scripts/fedora.xml >> +++ b/data/install-scripts/fedora.xml >> @@ -94,8 +94,10 @@ >> >> <xsl:template match="/install-script-config"> >> # Install script for <xsl:value-of select="os/short-id"/> profile <xsl:value-of select="script/profile"/> >> +<xsl:if test="count(media/variant) = 0 or media/variant != 'netinst'"> > > Wouldn't <xsl:if media/variant != 'netinst'"> be enough? For some weird unknown reason, that doesn't work for the case of media not present. '!=' evals to true somehow. -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo