Hanspeter,
I reverted that change in bash-completion-2.1-4 and added a new
system-bash-completion-1.3-1 package which installs into %p/opt/%n and
creates the appropriate symlinks with…
mkdir -p %i/etc/profile.d
ln -sf %p/opt/%n/etc/profile.d/bash_completion.sh
%i/etc/system_bash_completion
ln -sf %p/opt/%n/etc/profile.d/bash_completion.sh
%i/etc/profile.d/system_bash_completion.sh
in the InstallScript as well as adding…
--- bash-completion-1.3/bash_completion.sh.in.orig 2014-06-06
13:36:30.000000000 -0400
+++ bash-completion-1.3/bash_completion.sh.in 2014-06-06
13:36:46.000000000 -0400
@@ -3,7 +3,7 @@
# Check for recent enough version of bash.
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
-if [ $bmajor -gt 3 ] || [ $bmajor -eq 3 -a $bminor -ge 2 ]; then
+if [ $bmajor -eq 3 ] || [ $bmajor -eq 3 -a $bminor -ge 2 ]; then
if shopt -q progcomp && [ -r @sysconfdir@/bash_completion ]; then
# Source completion code.
. @sysconfdir@/bash_completion
to limit system-bash-completion to bash 3.x.
Jack
On Fri, Jun 6, 2014 at 12:18 PM, Hanspeter Niederstrasser <
f...@snaggledworks.com> wrote:
>
> On Fri, June 6, 2014 10:59 am, Jack Howarth wrote:
> > Hanspeter,
> > This should be fixed now in bash-completion-2.1-3 by the following
> > changes…
>
> Does not work. And if I try to close the new Terminal window I opened
> after updating to b-c-2.1-3, Terminal.app tells me that the following
> processes are still running: login, bash, bash, and 'ps' in that window
> shows a /sw/bin/bash process floating around.
>
> Hanspeter
>
> --
>
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users