diff options
author | 2004-09-30 01:04:23 +0000 | |
---|---|---|
committer | 2004-09-30 01:04:23 +0000 | |
commit | 03dca469b536309a2c20d7f3bee8050c2dd386e4 (patch) | |
tree | 707968ed181d2632ce3c83f4cf86b2085fe6b2da /app-misc/bins/files | |
parent | We release under GPL v2. (Manifest recommit) (diff) | |
download | gentoo-2-03dca469b536309a2c20d7f3bee8050c2dd386e4.tar.gz gentoo-2-03dca469b536309a2c20d7f3bee8050c2dd386e4.tar.bz2 gentoo-2-03dca469b536309a2c20d7f3bee8050c2dd386e4.zip |
bug 65837
Diffstat (limited to 'app-misc/bins/files')
-rw-r--r-- | app-misc/bins/files/bins-1.1.26-install.patch | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/app-misc/bins/files/bins-1.1.26-install.patch b/app-misc/bins/files/bins-1.1.26-install.patch index fbaef17fd70c..d062e1f5dc59 100644 --- a/app-misc/bins/files/bins-1.1.26-install.patch +++ b/app-misc/bins/files/bins-1.1.26-install.patch @@ -1,5 +1,5 @@ ---- install.sh.old 2004-06-15 06:34:53.000000000 +0000 -+++ install.sh 2004-06-15 06:38:01.000000000 +0000 +--- install.sh.old 2004-05-24 08:31:08.000000000 -0500 ++++ install.sh 2004-09-29 13:59:04.911944000 -0500 @@ -23,11 +23,12 @@ RC="${RC:-/etc/bins}" GLOBAL_RC="$RC" @@ -31,7 +31,7 @@ - mkdir -p $RC 2>/dev/null || true - if [ -w $RC ]; then + mkdir -p $DESTRC 2>/dev/null || true -+ if [ -w $DESTRC ]; then ++ if [ -w $DESTRC ]; then echo "Installing configuration file in $RC" - cp binsrc $RC + cp binsrc $DESTRC @@ -52,3 +52,23 @@ return 1 fi } +@@ -179,16 +180,9 @@ + fi + + # bash completion +-if [ -w /etc/bash_completion.d ] ; then +- echo "Installing bash completion system wide." +- cp -f bash_completion /etc/bash_completion.d/bins +-else +- mkdir ~/.bash_completion 2>/dev/null || true +- if [ -w ~/.bash_completion ] ; then +- echo "Installing bash completion for user `whoami`." +- cp -f bash_completion ~/.bash_completion/bins +- fi +-fi ++echo "Installing bash completion system wide." ++mkdir -p $SHARE/bash-completion ++cp -f bash_completion $SHARE/bash-completion/bins + + # I18N files + mkdir -p $LOCALE 2>/dev/null || true |