]> granicus.if.org Git - sudo/commitdiff
Use sudo_$flavor instead of sudo-$flavor since that causes the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 27 Jul 2010 22:17:23 +0000 (18:17 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 27 Jul 2010 22:17:23 +0000 (18:17 -0400)
least amount of trouble for the various package managers.

--HG--
branch : 1.7

sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 0e08b129b5272abfaa4db212c221ad9676ef84dd..309a53943d9e538cbba0fab1ed882db1d67fb3e1 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -1,10 +1,8 @@
 %set
        if test -n "$flavor"; then
-               name="sudo-$flavor"
-               pp_kit_package="sudo_$flavor"
+               name="sudo_$flavor"
        else
                name="sudo"
-               pp_kit_package="sudo"
        fi
        summary="Provide limited super-user priveleges to specific users"
        description="Sudo is a program designed to allow a sysadmin to give \
@@ -20,7 +18,8 @@ still allow people to get their work done."
        pp_rpm_packager="Todd.Miller@courtesan.com"
        pp_deb_maintainer="Todd.Miller@courtesan.com"
        pp_sd_vendor_tag="TCM"
-       pp_sd_kit_name="TCM"
+       pp_kit_name="TCM"
+       pp_kit_package="$name"
        pp_solaris_name="TCM${name}"
 %if [!rpm,deb]
        # For all but RPM and Debian we need to install sudoers with a different