create symlinks instead of copying files
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 22 Apr 2010 09:55:57 +0000 (09:55 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 22 Apr 2010 09:55:57 +0000 (09:55 +0000)
plc.d/packages

index 5afe7bf..ad8a5d9 100755 (executable)
@@ -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