fix typo again
[bootstrapfs.git] / plc.d / packages
index 5afe7bf..8218560 100755 (executable)
@@ -44,8 +44,8 @@ case "$1" in
        type -p createrepo > /dev/null && have_createrepo="true"
 
 
-        ### copy vserver-PLDISTRO* and vserver-systemslices-PLDISTRO*
-        ### pacakges to each repository to be able to create different
+        ### symlink vserver-PLDISTRO* and vserver-systemslices-PLDISTRO*
+        ### packages to each repository to be able to create different
         ### flavours of vservers on nodes
         for repository1 in $repositories; do
             DISTRO=${PLC_FLAVOUR_SLICE_PLDISTRO}
@@ -55,8 +55,8 @@ case "$1" in
                 if [[ $(basename $repository1) == ${DISTRO}* ]]  \
                     && [[ $(basename $repository2) == ${DISTRO}* ]] \
                     && [[ $repository1 != $repository2 ]] ; then
-                        cp -a $repository1/${VSERVER_PKG}* $repository2
-                        cp -a $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
+                        ln -s $repository1/${VSERVER_PKG}* $repository2
+                        ln -s $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2
                 fi
             done
         done