diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-02-01 16:05:56 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-02-01 17:22:32 -0500 |
commit | 74a6d87d0cd1f2213869e168b6ca55eded6f4ae8 (patch) | |
tree | 4bef553e67f85dc05c8dbad0dcdbedec67bcdeb9 | |
parent | 7d328b544621d4b1bec936dec612947ad8bfb65a (diff) |
man: switch yum to dnf for Fedora
The dnf name is here to stay, we might as well adjust.
-rw-r--r-- | man/custom-html.xsl | 12 | ||||
-rw-r--r-- | man/systemd-nspawn.xml | 4 |
2 files changed, 15 insertions, 1 deletions
diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 8bcc5f92d9..32299db710 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -60,6 +60,18 @@ </a> </xsl:template> +<xsl:template match="citerefentry[@project='mankier']"> + <a> + <xsl:attribute name="href"> + <xsl:text>https://www.mankier.com/</xsl:text> + <xsl:value-of select="manvolnum"/> + <xsl:text>/</xsl:text> + <xsl:value-of select="refentrytitle"/> + </xsl:attribute> + <xsl:call-template name="inline.charseq"/> + </a> +</xsl:template> + <xsl:template match="citerefentry[@project='archlinux']"> <a> <xsl:attribute name="href"> diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index b0f7aa37cb..4b7ec1d391 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -103,6 +103,7 @@ in a container.</para> <para>Use a tool like + <citerefentry project='mankier'><refentrytitle>dnf</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='die-net'><refentrytitle>yum</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='die-net'><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>, or @@ -861,7 +862,7 @@ <example> <title>Build and boot a minimal Fedora distribution in a container</title> - <programlisting># yum -y --releasever=21 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal + <programlisting># dnf -y --releasever=21 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd dnf fedora-release vim-minimal # systemd-nspawn -bD /srv/mycontainer</programlisting> <para>This installs a minimal Fedora distribution into @@ -926,6 +927,7 @@ <para> <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, <citerefentry project='man-pages'><refentrytitle>chroot</refentrytitle><manvolnum>1</manvolnum></citerefentry>, + <citerefentry project='mankier'><refentrytitle>dnf</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='die-net'><refentrytitle>yum</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='die-net'><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry project='archlinux'><refentrytitle>pacman</refentrytitle><manvolnum>8</manvolnum></citerefentry>, |