From: Todd C. Miller Date: Wed, 4 Feb 2015 16:38:25 +0000 (-0700) Subject: Add /usr/local/share/examples/ directory to parentdirs so it is X-Git-Tag: SUDO_1_8_12^2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f82c8e5782ddb0e0427a839f993905d5cb07384;p=sudo Add /usr/local/share/examples/ directory to parentdirs so it is explicitly added to the package. --- diff --git a/sudo.pp b/sudo.pp index 5a29314f6..3dc7b019e 100644 --- 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