git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
974de7a
)
rpmsrclist: Fix the extension.
author
jkratoch
<>
Fri, 13 Mar 2009 21:49:36 +0000
(21:49 +0000)
committer
jkratoch
<>
Fri, 13 Mar 2009 21:49:36 +0000
(21:49 +0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
e8f03db
..
ca82719
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-348,10
+348,10
@@
function rpmsrclist
cat; \
else \
if [ "$3" != - ]; then
cat; \
else \
if [ "$3" != - ]; then
- sed "s#.*#$3
/&
#"; \
+ sed "s#.*#$3
&.rpm
#"; \
else \
base="$(echo "$1"|sed 's/^\(.*\)-[^-]*-[^-]*$/\1/')"; \
else \
base="$(echo "$1"|sed 's/^\(.*\)-[^-]*-[^-]*$/\1/')"; \
- sed "s#^.*-\([^-]*\)-\([^-]*\)\.\([^.]*\)\$#http://kojipkgs.fedoraproject.org/packages/$base/\1/\2/\3/&#"; \
+ sed "s#^.*-\([^-]*\)-\([^-]*\)\.\([^.]*\)\$#http://kojipkgs.fedoraproject.org/packages/$base/\1/\2/\3/&
.rpm
#"; \
fi; \
fi \
| sort -u
fi; \
fi \
| sort -u