]> piware.de Git - bin.git/blob - ubuntu-mirror
add scandoc
[bin.git] / ubuntu-mirror
1 #!/bin/sh -e
2
3 # dapper binaries
4 debmirror --dist dapper,dapper-proposed,dapper-updates,dapper-security --section main,restricted --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host security.ubuntu.com --exclude-deb-section translation --exclude 'linux-(tree|source|patch|doc)[^/]*\.deb' --exclude 'linux.*(386|k7|k8|xeon|server)' --exclude 'linux.*(23|25|26|27|28|29)' --exclude 'ia32-libs*' --exclude '-dbg_.*\.deb' --exclude 'openoffice.org-(l10n|help).*' --root ubuntu /mirror
5
6 # edgy binaries
7 #debmirror --dist edgy,edgy-updates,edgy-security --section main --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host de.archive.ubuntu.com --exclude-deb-section translation --exclude-deb-section kde --exclude 'linux-(tree|source|patch|doc)[^/]*\.deb' --exclude 'linux.*(k8|xeon|server)' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
8
9 # feisty binaries
10 #debmirror --dist feisty,feisty-proposed,feisty-updates,feisty-security --section main --arch amd64 --no-source --progress --nocleanup --method http --ignore-release-gpg --host de.archive.ubuntu.com --exclude-deb-section translation --exclude-deb-section kde --exclude 'linux-(tree|source|patch|doc|.*debug)[^/]*\.deb' --exclude 'linux.*(k8|xeon|server)' --exclude '-dbg_.*\.deb' --root ubuntu /mirror
11
12 cat <<EOF | python
13 import sys
14 sys.path.append('/home/martin/ubuntu/ddeb-retriever/')
15 import archive_tools
16
17 archive_tools.archive_cleanup('/mirror')
18 EOF