Add Ubuntu 17.04
This commit is contained in:
parent
34e8ee8603
commit
72cb1ff184
4 changed files with 17 additions and 10 deletions
|
|
@ -11,7 +11,6 @@ index() {
|
|||
|
||||
|
||||
# Convenient wrapper around index() for debian repos
|
||||
# TODO: Use x86_64 for new releases
|
||||
# Usage: index_dev sys mirror distro list-of-components [contents]
|
||||
# contents:
|
||||
# empty for global Contents-i386.gz location
|
||||
|
|
@ -22,11 +21,12 @@ index_deb() {
|
|||
local MIRROR=$2
|
||||
local DISTRO=$3
|
||||
local COMPONENTS=$4
|
||||
local CONTENTS=${5:-"dists/$DISTRO/Contents-i386.gz"}
|
||||
local ARCH=${6:-"i386"}
|
||||
local CONTENTS=${5:-"dists/$DISTRO/Contents-$ARCH.gz"}
|
||||
|
||||
for CMP in $COMPONENTS; do
|
||||
local CONT=$CONTENTS
|
||||
test $CONT = cmp && CONT="dists/$DISTRO/$CMP/Contents-i386.gz"
|
||||
index deb --sys "$SYS" --mirror "$MIRROR" --contents "$MIRROR$CONT" --packages "${MIRROR}dists/$DISTRO/$CMP/binary-i386/Packages.gz"
|
||||
test $CONT = cmp && CONT="dists/$DISTRO/$CMP/Contents-$ARCH.gz"
|
||||
index deb --sys "$SYS" --mirror "$MIRROR" --contents "$MIRROR$CONT" --packages "${MIRROR}dists/$DISTRO/$CMP/binary-$ARCH/Packages.gz"
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue