clean up changelog to reflect what has and has not been uploaded
[debian/sudo] / sudo.pp
diff --git a/sudo.pp b/sudo.pp
index f846a8be5c96d44fbe5f92dff0960b6f7fa50729..51678261b55e4c9e071d3537c2fe8338b2d1d92e 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -212,10 +212,10 @@ still allow people to get their work done."
        $libexecdir/*           0755 optional
        $sudoersdir/sudoers.d/  0750 $sudoers_uid:$sudoers_gid
        $timedir/               0700 root:
-       $docdir/
+       $docdir/                0755
        $docdir/sudoers2ldif    0555 optional,ignore-others
        $docdir/*               0444
-       $localedir/             optional
+       $localedir/             -    optional
        $localedir/**           0444 optional
        /etc/pam.d/*            0444 volatile,optional
 %if [rpm,deb]
@@ -234,7 +234,11 @@ still allow people to get their work done."
 
 %post [!rpm,deb]
        # Don't overwrite an existing sudoers file
+%if [solaris]
+       sudoersdir=${PKG_INSTALL_ROOT}%{sudoersdir}
+%else
        sudoersdir=%{sudoersdir}
+%endif
        if test ! -r $sudoersdir/sudoers; then
                cp $sudoersdir/sudoers.dist $sudoersdir/sudoers
                chmod %{sudoers_mode} $sudoersdir/sudoers