mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +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
|
||||
if test "${prefix}" != "/usr"; then
|
||||
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"
|
||||
for dir in $bindir $sbindir $libexecdir $includedir $extradirs; do
|
||||
while test "$dir" != "/"; do
|
||||
@ -278,9 +278,8 @@ still allow people to get their work done."
|
||||
$docdir/LICENSE ignore,ignore-others
|
||||
$docdir/ChangeLog ignore,ignore-others
|
||||
%endif
|
||||
$docdir/* 0644
|
||||
$exampledir/ 0755
|
||||
$exampledir/* 0644
|
||||
$exampledir/ 0755 ignore-others
|
||||
$docdir/** 0644
|
||||
$localedir/*/ - optional
|
||||
$localedir/*/LC_MESSAGES/ - optional
|
||||
$localedir/*/LC_MESSAGES/* 0644 optional
|
||||
|
Loading…
x
Reference in New Issue
Block a user