aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-21 02:22:26 +0000
committerUlrich Müller <ulm@gentoo.org>2021-04-07 19:28:11 +0200
commitc700799865c71af1c2e9f77154f6950ff7ab648f (patch)
treeacc2cefb69194cdab89d96cda4970ef4c5a7b675 /ebuild-writing
parentebuild-writing/functions/src_compile/no-build-system: sync example with ::gentoo (diff)
downloaddevmanual-c700799865c71af1c2e9f77154f6950ff7ab648f.tar.gz
devmanual-c700799865c71af1c2e9f77154f6950ff7ab648f.tar.bz2
devmanual-c700799865c71af1c2e9f77154f6950ff7ab648f.zip
ebuild-writing/functions/pkg_postinst: use ${variable} style in example
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing')
-rw-r--r--ebuild-writing/functions/pkg_postinst/text.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebuild-writing/functions/pkg_postinst/text.xml b/ebuild-writing/functions/pkg_postinst/text.xml
index b293758..afd9f09 100644
--- a/ebuild-writing/functions/pkg_postinst/text.xml
+++ b/ebuild-writing/functions/pkg_postinst/text.xml
@@ -44,7 +44,7 @@ pkg_postinst() {
<body>
<codesample lang="ebuild">
pkg_postinst() {
- if $OLD_FLUXBOX_VERSION ; then
+ if ${OLD_FLUXBOX_VERSION} ; then
ewarn "You must restart fluxbox before using the [include] /directory/"
ewarn "feature if you are upgrading from an older fluxbox!"
ewarn " "