diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-20 08:54:32 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-20 08:54:32 +0200 |
commit | ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1 (patch) | |
tree | d9b8607b3ac0f717a8b893ab47749cbe7c201616 /base/pkg-get/syn | |
parent | 3d1a5715ea9859d7936fd7a4ae57cc57bacc940e (diff) | |
download | nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.gz nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.bz2 nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.tar.xz nutyx-extra-ab6dddc33e1b3c2f598f9b2dfdb417094605b5d1.zip |
pkg-get, correctif pour pkg-repgen
Diffstat (limited to 'base/pkg-get/syn')
-rw-r--r-- | base/pkg-get/syn | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/base/pkg-get/syn b/base/pkg-get/syn index c4bdeb1fe..f0bf5d46e 100644 --- a/base/pkg-get/syn +++ b/base/pkg-get/syn @@ -6,12 +6,13 @@ if [ ! "$EUID" -eq 0 ]; then exit 1 fi if [ ! -L /depot ]; then + if [ ! -d $Depot/locale ]; then mkdir -p $Depot/locale; fi pushd $Depot/locale > /dev/null pkg-repgen popd - for i in test stable + for i in test release do - if [ -d $Depot/$i ]; then + if [ -a $Depot/$i ]; then rm -r $Depot/$i fi done @@ -27,7 +28,7 @@ if [ ! -L /depot ]; then else for i in `cat /etc/pkg-get.conf |grep -v ^#|grep http|cut -d "|" -f 1|cut -d" " -f2|cut -d"/" -f4` do - rsync -avuz --delete-before rsync://nutyx.meticul.eu/nutyx/2009/uname-m/$i/ $Depot/$i/ + rsync -avuz --delete-before rsync://nutyx.meticul.eu/nutyx/2009/i686/$i/ $Depot/$i/ done fi |