From: Todd C. Miller Date: Tue, 27 Jul 2010 22:17:23 +0000 (-0400) Subject: Use sudo_$flavor instead of sudo-$flavor since that causes the X-Git-Tag: SUDO_1_7_4~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63227536242c75d111cbce1ee914cf9924331d24;p=sudo Use sudo_$flavor instead of sudo-$flavor since that causes the least amount of trouble for the various package managers. --HG-- branch : 1.7 --- diff --git a/sudo.pp b/sudo.pp index 0e08b129b..309a53943 100644 --- 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