summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpmi.bash-completion2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6dfd0e70..830bdcdc 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@
- use urpmi log API for the transaction failed message instead of
printing it on the console so that installer can save each error
with each transaction log instead of only having a summary at end
+- urpmi:
+ o allow bash-completion to complete to .spec files as well
Version 6.25.5 - 23 April 2009
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 752606e7..5353dfd9 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -119,7 +119,7 @@ _urpmi()
if [[ "$cur" != */* ]]; then
_urpmi_packages
fi
- _filedir rpm
+ _filedir @(rpm|spec)
fi
fi
}