mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Fix packaging of the example dir.
This commit is contained in:
parent
1ae2e55141
commit
2ed7f2dd94
7
sudo.pp
7
sudo.pp
@ -227,7 +227,7 @@ still allow people to get their work done."
|
|||||||
# Package parent directories when not installing under /usr
|
# Package parent directories when not installing under /usr
|
||||||
if test "${prefix}" != "/usr"; then
|
if test "${prefix}" != "/usr"; then
|
||||||
extradirs=`echo ${pp_destdir}/${mandir}/[mc]* | sed "s#${pp_destdir}/##g"`
|
extradirs=`echo ${pp_destdir}/${mandir}/[mc]* | sed "s#${pp_destdir}/##g"`
|
||||||
extradirs="$extradirs `dirname $docdir` `dirname $exampledir` `dirname $rundir` `dirname $vardir`"
|
extradirs="$extradirs `dirname $docdir` `dirname $rundir` `dirname $vardir`"
|
||||||
test -d ${pp_destdir}${localedir} && extradirs="$extradirs $localedir"
|
test -d ${pp_destdir}${localedir} && extradirs="$extradirs $localedir"
|
||||||
for dir in $bindir $sbindir $libexecdir $includedir $extradirs; do
|
for dir in $bindir $sbindir $libexecdir $includedir $extradirs; do
|
||||||
while test "$dir" != "/"; do
|
while test "$dir" != "/"; do
|
||||||
@ -278,9 +278,8 @@ still allow people to get their work done."
|
|||||||
$docdir/LICENSE ignore,ignore-others
|
$docdir/LICENSE ignore,ignore-others
|
||||||
$docdir/ChangeLog ignore,ignore-others
|
$docdir/ChangeLog ignore,ignore-others
|
||||||
%endif
|
%endif
|
||||||
$docdir/* 0644
|
$exampledir/ 0755 ignore-others
|
||||||
$exampledir/ 0755
|
$docdir/** 0644
|
||||||
$exampledir/* 0644
|
|
||||||
$localedir/*/ - optional
|
$localedir/*/ - optional
|
||||||
$localedir/*/LC_MESSAGES/ - optional
|
$localedir/*/LC_MESSAGES/ - optional
|
||||||
$localedir/*/LC_MESSAGES/* 0644 optional
|
$localedir/*/LC_MESSAGES/* 0644 optional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user