Lines 54-62
_koha_list_cmd()
Link Here
|
54 |
substract=`_build_substract_instances` |
54 |
substract=`_build_substract_instances` |
55 |
|
55 |
|
56 |
if [[ "$substract" != "" ]]; then |
56 |
if [[ "$substract" != "" ]]; then |
57 |
instancelist=$( koha-list $filter | grep -v -x $substract ) |
57 |
instancelist=$( sudo koha-list $filter | grep -v -x $substract ) |
58 |
else |
58 |
else |
59 |
instancelist=$( koha-list $filer ) |
59 |
instancelist=$( sudo koha-list $filer ) |
60 |
fi |
60 |
fi |
61 |
|
61 |
|
62 |
COMPREPLY=( $(compgen -W "$instancelist" -- $cur ) ) |
62 |
COMPREPLY=( $(compgen -W "$instancelist" -- $cur ) ) |
63 |
- |
|
|