]> granicus.if.org Git - sudo/commitdiff
Add /usr/local/share/examples/ directory to parentdirs so it is
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Feb 2015 16:38:25 +0000 (09:38 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Feb 2015 16:38:25 +0000 (09:38 -0700)
explicitly added to the package.

sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 5a29314f66e5d898085a646f58438b3af2bfc50c..3dc7b019ee300e8562d73c63e15213fd8795675a 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -227,7 +227,7 @@ still allow people to get their work done."
        # Package parent directories when not installing under /usr
        if test "${prefix}" != "/usr"; then
            extradirs=`echo ${pp_destdir}/${mandir}/[mc]* | sed "s#${pp_destdir}/##g"`
-           extradirs="$extradirs `dirname $docdir` `dirname $rundir` `dirname $vardir`"
+           extradirs="$extradirs `dirname $docdir` `dirname $exampledir` `dirname $rundir` `dirname $vardir`"
            test -d ${pp_destdir}${localedir} && extradirs="$extradirs $localedir"
            for dir in $bindir $sbindir $libexecdir $includedir $extradirs; do
                    while test "$dir" != "/"; do