public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ville Skyttä" <ville.skytta@iki.fi>
To: util-linux@vger.kernel.org
Subject: [PATCH] bash-completion: Symlink runuser symlink to su so it gets loaded on demand.
Date: Sun,  7 Apr 2013 11:56:12 +0300	[thread overview]
Message-ID: <1365324972-4139-1-git-send-email-ville.skytta@iki.fi> (raw)


Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
---
 bash-completion/Makemodule.am | 3 +++
 1 file changed, 3 insertions(+)

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
 endif
 if BUILD_UTMPDUMP
 dist_bashcompletion_DATA += \
-- 
1.7.11.7


             reply	other threads:[~2013-04-07  8:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07  8:56 Ville Skyttä [this message]
2013-04-08 16:26 ` [PATCH] bash-completion: Symlink runuser symlink to su so it gets loaded on demand Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1365324972-4139-1-git-send-email-ville.skytta@iki.fi \
    --to=ville.skytta@iki.fi \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox