X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=ubuntu-mirror;h=2b8544d0acfbc0d10e4b17a693fe4d062f6c2728;hb=67c238efb01593f944f51bba956e53f5fbe88d92;hp=45186000fe6e8db33fed44ff113d085c243299f5;hpb=781ec98b82344fe87bb809e0bb01ae8e4181ff09;p=bin.git diff --git a/ubuntu-mirror b/ubuntu-mirror index 4518600..2b8544d 100755 --- a/ubuntu-mirror +++ b/ubuntu-mirror @@ -1,16 +1,18 @@ #!/bin/sh -e -debmirror --dist hoary,hoary-updates,hoary-security,breezy,breezy-updates,breezy-security,dapper,dapper-updates,dapper-security --section main,restricted --arch none --source --progress --nocleanup --method http --ignore-release-gpg --host archive.ubuntu.com --exclude-deb-section translation --exclude 'openoffice.*amd.*tar.gz' --exclude 'ia32-libs*' --root ubuntu /mirror -debmirror --dist dapper,dapper-updates,dapper-security --section main,restricted --arch i386 --no-source --progress --nocleanup --method http --ignore-release-gpg --host security.ubuntu.com --exclude-deb-section translation --exclude 'linux-(image|headers|source|patch|doc).*\.deb' --exclude '-dbg_.*\.deb' --root ubuntu /mirror -debmirror --dist breezy,breezy-updates,breezy-security,dapper,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-(image|headers|source|patch|doc).*\.deb' --exclude 'ia32-libs*' --exclude '-dbg_.*\.deb' --root ubuntu /mirror +# dapper binaries +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 -ORPHANS=`mirror-orphans` -if [ -n "$ORPHANS" ]; then - echo ---------------------- - echo Orphans: - /bin/echo -e "$ORPHANS" - read -p 'ok to remove? [y/N] ' a - if [ "$a" = y ]; then - rm -f $ORPHANS - fi -fi +# edgy binaries +#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 + +# feisty binaries +#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 + +cat <