Hanspeter,
I made a couple more changes. The new system-bash-completion-1,3-2
adds…
Conflicts: bash-completion (<< 2.1)
to make sure that two different copies of bash-completion 1.3 don't execute.
I also added system-bash-completion to the existing RuntimeDepends in
the bash-completion-2.1-5 info file...
# use RunTimeDepends to make sure bash-completion
# support is retained for bash-3.2 when upgrading
# from the previous bash-completion-1.3 package.
RuntimeDepends: bash, system-bash-completion
which will make sure that 'fink update-all' retains the previous
bash-completion
support for the system bash-3.2 while installing the new bash-completion
support for fink bash.
Jack
On Fri, Jun 6, 2014 at 1:51 PM, Jack Howarth <howarth.at.f...@gmail.com>
wrote:
> 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