From 81717bbfbfcfbb317cb02c871366991e33666f0d Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Mar 04 2019 14:13:17 +0000 Subject: [PATCH 1/2] Add a link to Java Packaging HOWTO to navigation --- diff --git a/guidelines/modules/ROOT/nav.adoc b/guidelines/modules/ROOT/nav.adoc index 44ccebb..b1f05d2 100644 --- a/guidelines/modules/ROOT/nav.adoc +++ b/guidelines/modules/ROOT/nav.adoc @@ -41,6 +41,7 @@ ** xref:Fortran.adoc[Fortran] ** xref:Haskell.adoc[Haskell] ** xref:Java.adoc[Java] +*** xref:java-packaging-howto:index.adoc[Java Packaging HOWTO] ** xref:JavaScript.adoc[JavaScript] ** xref:Lisp.adoc[Lisp] ** xref:Mono.adoc[Mono] @@ -73,4 +74,3 @@ ** xref:SugarActivityGuidelines.adoc[Sugar activities] ** xref:Web_Assets.adoc[Web Assets] ** xref:WordPress_plugin_packaging_guidelines.adoc[WordPress extensions] - From a4fc6d4750631dd499fdf95ae33a36ace1025f5d Mon Sep 17 00:00:00 2001 From: Petr Bokoc Date: Mar 04 2019 14:13:49 +0000 Subject: [PATCH 2/2] Fix heading levels in Directory_Replacement.adoc --- diff --git a/guidelines/modules/ROOT/pages/Directory_Replacement.adoc b/guidelines/modules/ROOT/pages/Directory_Replacement.adoc index 470a0a8..3731494 100644 --- a/guidelines/modules/ROOT/pages/Directory_Replacement.adoc +++ b/guidelines/modules/ROOT/pages/Directory_Replacement.adoc @@ -11,7 +11,7 @@ For more information on the issues involved, refer to https://bugzilla.redhat.com/show_bug.cgi?id=447156[bug 447156] and https://bugzilla.redhat.com/show_bug.cgi?id=646523[bug 646523]. -=== Try to avoid the problem in the first place +== Try to avoid the problem in the first place While its obviously not possible to foresee all the cases where the need might arise, @@ -30,7 +30,7 @@ and change the symlink to point to the corresponding system library directory, without resorting to the scriptlets described below. -=== Working around it with scriptlets +== Working around it with scriptlets To work around this problem, you must include a @@ -87,7 +87,7 @@ so that the directory is not entirely orphaned and can be deleted if the package is ever uninstalled and the directory is empty. -==== Scriptlet to replace a symlink to a directory with a directory +=== Scriptlet to replace a symlink to a directory with a directory Replacing a symlink to a directory with a regular directory is much simpler,