summaryrefslogtreecommitdiffstats
path: root/base/pkg-get/syn
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-03 22:11:27 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-03 22:11:27 +0200
commit0e374325ae842c14f6c16b9e61bb337f7ccf8952 (patch)
tree6a3e1f6b90b6a23accd319d3d652effd8969fe16 /base/pkg-get/syn
parent9e16233a565274182db1d4369b65e3ccce0b068c (diff)
downloadnutyx-extra-0e374325ae842c14f6c16b9e61bb337f7ccf8952.tar.gz
nutyx-extra-0e374325ae842c14f6c16b9e61bb337f7ccf8952.tar.bz2
nutyx-extra-0e374325ae842c14f6c16b9e61bb337f7ccf8952.tar.xz
nutyx-extra-0e374325ae842c14f6c16b9e61bb337f7ccf8952.zip
Maj pkg-get#0.4.5-6, amélioration du support externe
Diffstat (limited to 'base/pkg-get/syn')
-rw-r--r--base/pkg-get/syn8
1 files changed, 7 insertions, 1 deletions
diff --git a/base/pkg-get/syn b/base/pkg-get/syn
index f0bf5d46e..42dd9a8b4 100644
--- a/base/pkg-get/syn
+++ b/base/pkg-get/syn
@@ -22,7 +22,13 @@ if [ ! -L /depot ]; then
if [ -d $MediaDepot/$i ]; then
echo "Dépot $i trouvé sur le media"
rm -r $Depot/$i > /dev/null 2>&1
- ln -svf $MediaDepot/$i $Depot/ > /dev/null
+ mkdir -p $Depot/$i
+ for j in $MediaDepot/$i/*.gz
+ do
+ fj=`basename $j`
+ ln -svf $MediaDepot/$i/$fj $Depot/$i/$fj > /dev/null
+ done
+ cp $MediaDepot/$i/PKG* $Depot/$i/
fi
done
else