git://git.onelab.eu
/
bootstrapfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bf875be
)
fix links for vserver-* packages
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Wed, 15 Sep 2010 12:49:11 +0000
(14:49 +0200)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Wed, 15 Sep 2010 12:49:11 +0000
(14:49 +0200)
plc.d/packages
patch
|
blob
|
history
diff --git
a/plc.d/packages
b/plc.d/packages
index
8218560
..
f86bbf9
100755
(executable)
--- a/
plc.d/packages
+++ b/
plc.d/packages
@@
-55,6
+55,9
@@
case "$1" in
if [[ $(basename $repository1) == ${DISTRO}* ]] \
&& [[ $(basename $repository2) == ${DISTRO}* ]] \
&& [[ $repository1 != $repository2 ]] ; then
if [[ $(basename $repository1) == ${DISTRO}* ]] \
&& [[ $(basename $repository2) == ${DISTRO}* ]] \
&& [[ $repository1 != $repository2 ]] ; then
+ rm -rf $repository2/${VSERVER_PKG}*
+ rm -rf $repository2/${VSERVER_SYS_SLICES_PKG}*
+
ln -s $repository1/${VSERVER_PKG}* $repository2
ln -s $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
fi
ln -s $repository1/${VSERVER_PKG}* $repository2
ln -s $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
fi
@@
-68,7
+71,7
@@
case "$1" in
new_stamps=
# is there a need to refresh yum metadata
need_yum_arch=
new_stamps=
# is there a need to refresh yum metadata
need_yum_arch=
- need_createrepo=
+ need_createrepo=
true # always run createrepo as links may change for vserver packages
# right after installation, no package is present
# but we still need to create index
# right after installation, no package is present
# but we still need to create index