monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone: 3d073d7ef08bfbe9f93dc2b6131


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 3d073d7ef08bfbe9f93dc2b6131486cc6e2f6aec
Date: Sat, 10 Sep 2011 01:51:09 +0200 (CEST)

revision:            3d073d7ef08bfbe9f93dc2b6131486cc6e2f6aec
date:                2011-09-09T23:49:29
author:              Richard Levitte <address@hidden>
branch:              net.venge.monotone
changelog:
Final solution for Gentoo, submitted by Peter Volkov on code.monotone.ca.
Closes issue #180

manifest:
format_version "1"

new_manifest [52ef2571be729a01e6056a2e84aa3fbb45064f32]

old_revision [db31ca1658b3fea71270e652d8fd03609be99530]

patch "test/extra/bash_completion/bashrc"
 from [3d2b402a51d982d48508b5c27fbc8cbac9aefeda]
   to [dd471a4f720b559295d901a73908cbc667f7227c]
============================================================
--- test/extra/bash_completion/bashrc	3d2b402a51d982d48508b5c27fbc8cbac9aefeda
+++ test/extra/bash_completion/bashrc	dd471a4f720b559295d901a73908cbc667f7227c
@@ -16,11 +16,15 @@ if [ "$BASH_COMPLETION" = "" ]; then
 if [ "$BASH_COMPLETION" = "" ]; then
     if [ -f /etc/bash_completion ]; then
 	. /etc/bash_completion
-    elif [ -f /etc/profile.d/bash-completion.sh ]; then
-        # Gentoo default installation place
-	. /etc/profile.d/bash-completion.sh
     elif [ -f /usr/local/etc/bash_completion ]; then
 	. /usr/local/etc/bash_completion
+    elif [ -f /usr/share/bash-completion/.pre -a \
+           -f /usr/share/bash-completion/base ]; then
+        # In Gentoo /etc/profile.d/bash-completion.sh sources required
+        # functions only if enabled with `eselect bashcomp`. We source
+        # required definitions manually.
+        . /usr/share/bash-completion/.pre
+        . /usr/share/bash-completion/base
     else
 	echo No bash completion package present.
 	exit

reply via email to

[Prev in Thread] Current Thread [Next in Thread]