From 0e374325ae842c14f6c16b9e61bb337f7ccf8952 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Thu, 3 Sep 2009 22:11:27 +0200 Subject: Maj pkg-get#0.4.5-6, amélioration du support externe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/pkg-get/.md5sum | 2 +- base/pkg-get/Pkgfile | 2 +- base/pkg-get/syn | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/base/pkg-get/.md5sum b/base/pkg-get/.md5sum index a66e89389..db1976dbd 100644 --- a/base/pkg-get/.md5sum +++ b/base/pkg-get/.md5sum @@ -2,4 +2,4 @@ 920b7589ca78de63ee06ce3d4d37c1ec pkg-get.conf c3fb4f7ca868903da78d316be77cca16 pkg-get.patch c4cca630bfcc85a3f3b13497aff01310 pkg-repgen.patch -7f54fb956ff1e04efbeb80ca8e52ebb3 syn +822d7518ce531572db5f285169e8502b syn diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile index 118331fc1..e382fc7ca 100644 --- a/base/pkg-get/Pkgfile +++ b/base/pkg-get/Pkgfile @@ -6,7 +6,7 @@ name=pkg-get version=0.4.5 -release=5 +release=6 source=(http://www.varlock.com/files/$name-$version.tar.gz \ $name.patch pkg-get.conf pkg-repgen.patch syn) 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 -- cgit v1.2.3-70-g09d2