projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3237d65
)
*** empty log message ***
author
ewt
<devnull@localhost>
Sat, 27 Mar 1999 17:41:23 +0000
(17:41 +0000)
committer
ewt
<devnull@localhost>
Sat, 27 Mar 1999 17:41:23 +0000
(17:41 +0000)
CVS patchset: 2917
CVS date: 1999/03/27 17:41:23
scripts/freshen.sh
patch
|
blob
|
history
diff --git
a/scripts/freshen.sh
b/scripts/freshen.sh
index
1e9c07a
..
6b6cdf5
100755
(executable)
--- a/
scripts/freshen.sh
+++ b/
scripts/freshen.sh
@@
-36,8
+36,10
@@
for n in $*; do
if [ ! -f $n ]; then
args="$args $n"
else
- name=`rpm --qf "%{NAME}" -qp $n`
- $RPM -q $name >/dev/null 2>&1 && args="$args $n"
+ if ! rpm -q `rpm -qp $n` >/dev/null 2>&1; then
+ name=`rpm --qf "%{NAME}" -qp $n`
+ $RPM -q $name >/dev/null 2>&1 && args="$args $n"
+ fi
fi
done