Re: [PATCH] bash-completion: Symlink runuser symlink to su so it gets loaded on demand.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 07, 2013 at 11:56:12AM +0300, Ville Skyttä wrote:
>  bash-completion/Makemodule.am | 3 +++
>  1 file changed, 3 insertions(+)

 Applied, thanks.

> 
> diff --git a/bash-completion/Makemodule.am b/bash-completion/Makemodule.am
> index 34bdc6c..4c41218 100644
> --- a/bash-completion/Makemodule.am
> +++ b/bash-completion/Makemodule.am
> @@ -98,6 +98,9 @@ endif
>  if BUILD_SU
>  dist_bashcompletion_DATA += \
>  	bash-completion/su
> +install-data-hook-bashcomp-su::
> +	ln -sf su $(DESTDIR)$(bashcompletiondir)/runuser
> +INSTALL_DATA_HOOKS += install-data-hook-bashcomp-su

 I have renamed the hook (*-runuser rather than *-su) and added 
 'if BUILD_RUNUSER'.

     Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux