Ignore:
Timestamp:
05/20/08 12:41:28 (6 years ago)
Author:
alanbach-guest
Message:
  • Updated to cover source files too
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/repository/filter-continent.bash

    r3028 r3721  
    55# 
    66# Created: 2008-02-01 10:57 +330 GMT 
    7 # Updated: 2008-02-01 16:47 +330 GMT 
     7# Updated: 2008-05-20 12:28 +330 GMT 
    88# 
    99 
     
    2525fi 
    2626 
    27 list=`find ./pool/ -type f | grep .deb$ | awk 'BEGIN{FS="_"}{print $1}' | xargs -n1 basename | sort -u` 
     27# Remove debs first, keep lsb, selinux and base-files, needed for debootstrap at the moment 
     28list=`find ./pool/ -type f | grep .deb$ | awk 'BEGIN{FS="_"}{print $1}' | grep -v selinux | grep -v lsb | grep -v base-files | xargs -n1 basename | sort -u` 
    2829 
    2930if [ ! -d "${contnt_repo}" ]; then 
     
    3435fi 
    3536 
    36 # Remove 
     37reprepro -Vb . remove ${distro} ${list} 
     38 
     39# Remove  sources then, keep lsb, selinux and base-files, needed for debootstrap at the moment 
     40list=`find ./pool/ -type f | grep .orig.tar.gz$ | awk 'BEGIN{FS="_"}{print $1}' | grep -v selinux | grep -v lsb | grep -v base-files | xargs -n1 basename | sort -u` 
     41 
     42if [ ! -d "${contnt_repo}" ]; then 
     43    echo "Continent repository does not exist." 
     44    exit 
     45else 
     46    cd ${contnt_repo} 
     47fi 
     48 
    3749reprepro -Vb . remove ${distro} ${list} 
    3850 
     
    4052../../sign 
    4153 
    42  
    43  
Note: See TracChangeset for help on using the changeset viewer.