diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pbuild.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/pbuild.sh b/bin/pbuild.sh index 860fa1e..4d5c847 100755 --- a/bin/pbuild.sh +++ b/bin/pbuild.sh @@ -263,13 +263,21 @@ do wget ${SERVER}/archive/${DIST}/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/${DIST}-backports/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-security/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/${DIST}-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-updates/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] then - wget ${SERVER}/archive/${DIST}-backports-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + wget ${SERVER}/archive/${DIST}-backports/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] + then + wget ${SERVER}/archive/${DIST}-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + if [ ! -e ${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz ] + then + wget ${SERVER}/archive/${DIST}-backports-extras/${PACKAGE}/orig/${TARGET}_${UPSTREAM_VERSION}.orig.tar.xz || true + fi + fi fi fi fi |