Changeset 4120 for scripts/repository


Ignore:
Timestamp:
07/24/08 16:55:48 (6 years ago)
Author:
alanbach-guest
Message:
  • Improved to support big sized repositories
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/repository/repo-clone.bash

    r3028 r4120  
    44# 
    55# Created: 2008-02-01 16:44 +330 GMT 
    6 # Updated: 2008-02-01 16:50 +330 GMT 
     6# Updated: 2008-07-24 14:55 +100 GMT 
    77 
    88parsix_repo="/home/parsix/public_html/packages/" 
     
    2929fi 
    3030 
    31 list=`find ./pool/ -type f | grep .deb$ | awk 'BEGIN{FS="_"}{print $1}' | xargs -n1 basename | sort -u` 
    32  
    33 # Remove 
    34 reprepro -Vb . copy ${dst_distro} ${src_distro} ${list} 
     31# Copy 
     32for x in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T 
     33do 
     34   list=`find ./pool/ -type f -name ${x}* | grep .deb$ | awk 'BEGIN{FS="_"}{print $1}' | xargs -n1 basename | sort -u` 
     35   if [ ! -z "${list}" ] 
     36      reprepro -Vb . copy ${dst_distro} ${src_distro} ${list} 
     37   fi 
     38done 
    3539 
    3640# Sign! 
Note: See TracChangeset for help on using the changeset viewer.