commit aaa_base for openSUSE:Factory
Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at Tue Jul 14 23:25:54 CEST 2009. -------- --- aaa_base/aaa_base.changes 2009-06-13 10:03:03.000000000 +0200 +++ aaa_base/aaa_base.changes 2009-07-14 14:07:27.000000000 +0200 @@ -1,0 +2,11 @@ +Tue Jul 14 14:05:02 CEST 2009 - werner@suse.de + +- Bash completion: make file type detection independent from file + name for b(un)zip2, g(un)zip, and unzip (bnc#512386, bnc#512386) + +------------------------------------------------------------------- +Tue Jul 14 12:45:30 CEST 2009 - ro@suse.de + +- added recommends for netcfg (bnc#519337) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.vPNlWs/_old 2009-07-14 23:22:55.000000000 +0200 +++ /var/tmp/diff_new_pack.vPNlWs/_new 2009-07-14 23:22:55.000000000 +0200 @@ -24,11 +24,11 @@ Provides: bin bootutls etc skeleng skelger aaa_skel Obsoletes: aaa_skel Requires: filesystem distribution-release /bin/mktemp /usr/bin/find /usr/bin/tput /usr/bin/xargs mingetty /bin/login cpio psmisc -Recommends: cron logrotate +Recommends: cron logrotate netcfg PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv udev net-tools AutoReqProv: on Version: 11.2 -Release: 30 +Release: 31 Summary: SUSE Linux Base Package BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: aaa_base.tar.bz2 ++++++ aaa_base.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/etc/profile.d/complete.bash new/aaa_base/etc/profile.d/complete.bash --- old/aaa_base/etc/profile.d/complete.bash 2009-05-12 15:48:11.000000000 +0200 +++ new/aaa_base/etc/profile.d/complete.bash 2009-07-14 14:03:13.000000000 +0200 @@ -166,10 +166,12 @@ return 0 ;; esac case "$a" in - $cd|$dc) e='!*.bz2' ;; + $cd|$dc) e='!*.+(*)' + t='@(bzip2 compressed)*' ;; *) e='*.bz2' ;; esac ;; - bunzip2) e='!*.bz2' ;; + bunzip2) e='!*.+(*)' + t='@(bzip2 compressed)*' ;; gzip) case "$c" in -) COMPREPLY=(d c) @@ -180,10 +182,13 @@ return 0 ;; esac case "$a" in - $cd|$dc) e='!*.+(gz|tgz|z|Z)' ;; + $cd|$dc) e='!*.+(*)' + t='@(gzip compressed|*data 16 bits)*' ;; *) e='*.+(gz|tgz|z|Z)' ;; esac ;; - gunzip) e='!*.+(gz|tgz|z|Z)' ;; + gunzip) e='!*.+(*)' + t='@(gzip compressed|*data 16 bits)*' ;; + lzma) case "$c" in -) COMPREPLY=(d c) @@ -213,7 +218,7 @@ esac ;; unxz) e='!*.+(xz)' ;; uncompress) e='!*.Z' ;; - unzip) e='!*.+(???)' + unzip) e='!*.+(*)' t="@(MS-DOS executable|Zip archive)*" ;; gs|ghostview) e='!*.+(eps|EPS|ps|PS|pdf|PDF)' ;; gv|kghostview) e='!*.+(eps|EPS|ps|PS|ps.gz|pdf|PDF)' ;; @@ -261,21 +266,26 @@ if test "$c" = ".." ; then COMPREPLY=($(compgen -d -X "$e" ${_nosp} -- $c)) else - if test -n "$t" ; then - let o=0 - COMPREPLY=() - for s in $(compgen -f -X "$e" -- $c) ; do - case "$(file -b "$s" 2> /dev/null)" in - directory) COMPREPLY[$((o++))]="$s" ;; - $t) COMPREPLY[$((o++))]="$s" ;; - esac - done - else - COMPREPLY=($(compgen -f -X "$e" -- $c)) - fi + COMPREPLY=($(compgen -f -X "$e" -- $c)) fi esac + if test -n "$t" ; then + let o=0 + local -a reply=() + for s in ${COMPREPLY[@]}; do + eval e="$s" + if test -d "$e" ; then + reply[$((o++))]="$s" + continue + fi + case "$(eval file -b "$s" 2> /dev/null)" in + $t) reply[$((o++))]="$s" + esac + done + COMPREPLY=(${reply[@]}) + fi + test $g -eq 0 && shopt -u extglob return 0 } @@ -310,9 +320,13 @@ fi let o=${#COMPREPLY[*]} for s in $(compgen -f -- "$c") ; do - case "$(file -b "$s" 2> /dev/null)" in - directory) COMPREPLY[$((o++))]="$s" ;; - *) COMPREPLY[$((o++))]="$s" ;; + eval e="$s" + if test -d "$e" ; then + COMPREPLY[$((o++))]="$s" + continue + fi + case "$(eval file -b "$e" 2> /dev/null)" in + *) COMPREPLY[$((o++))]="$s" esac done esac ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de