Changeset 3721 for scripts/repository/filter-continent.bash
- Timestamp:
- 05/20/08 12:41:28 (5 years ago)
- File:
-
- 1 edited
-
scripts/repository/filter-continent.bash (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/repository/filter-continent.bash
r3028 r3721 5 5 # 6 6 # Created: 2008-02-01 10:57 +330 GMT 7 # Updated: 2008-0 2-01 16:47+330 GMT7 # Updated: 2008-05-20 12:28 +330 GMT 8 8 # 9 9 … … 25 25 fi 26 26 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 28 list=`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` 28 29 29 30 if [ ! -d "${contnt_repo}" ]; then … … 34 35 fi 35 36 36 # Remove 37 reprepro -Vb . remove ${distro} ${list} 38 39 # Remove sources then, keep lsb, selinux and base-files, needed for debootstrap at the moment 40 list=`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 42 if [ ! -d "${contnt_repo}" ]; then 43 echo "Continent repository does not exist." 44 exit 45 else 46 cd ${contnt_repo} 47 fi 48 37 49 reprepro -Vb . remove ${distro} ${list} 38 50 … … 40 52 ../../sign 41 53 42 43
Note: See TracChangeset
for help on using the changeset viewer.


