git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc0656
)
check if installed
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Thu, 22 Jul 2010 07:33:25 +0000
(09:33 +0200)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Thu, 22 Jul 2010 07:33:25 +0000
(09:33 +0200)
build.common
patch
|
blob
|
history
diff --git
a/build.common
b/build.common
index
9e7d3b1
..
63956ca
100644
(file)
--- a/
build.common
+++ b/
build.common
@@
-437,7
+437,8
@@
fi
ln -s initrd-*${pldistro}* initrd-boot
ln -s initrd-*${pldistro}* initrd-bootsmp
# we let kernel-debug to be installed to satisfy dependencies. it's time to clean up.
- rpm -e --nodeps --root $vroot kernel-debug
+ rpm --root $vroot -q kernel-debug >& /dev/null
+ if [ $? -eq 0 ]; then rpm -e --nodeps --root $vroot kernel-debug; fi
popd
return 0