add universe component to repo update script
mirroring all open source components makes the mirror more useful
This commit is contained in:
parent
526b418ae2
commit
8160dec793
|
@ -4,15 +4,15 @@ set -e
|
||||||
# Automate the initial creation and update of an Ubuntu package mirror in aptly
|
# Automate the initial creation and update of an Ubuntu package mirror in aptly
|
||||||
|
|
||||||
# The variables (as set below) will create a mirror of the Ubuntu Trusty repo
|
# The variables (as set below) will create a mirror of the Ubuntu Trusty repo
|
||||||
# with just the main component, you can add other components like restricted
|
# with the main & universe components, you can add other components like restricted
|
||||||
# universe etc by adding to the array (separated by spaces).
|
# multiverse etc by adding to the array (separated by spaces).
|
||||||
|
|
||||||
# For more detail about each of the variables below refer to:
|
# For more detail about each of the variables below refer to:
|
||||||
# https://help.ubuntu.com/community/Repositories/CommandLine
|
# https://help.ubuntu.com/community/Repositories/CommandLine
|
||||||
|
|
||||||
UBUNTU_RELEASE=trusty
|
UBUNTU_RELEASE=trusty
|
||||||
UPSTREAM_URL="http://archive.ubuntu.com/ubuntu/"
|
UPSTREAM_URL="http://archive.ubuntu.com/ubuntu/"
|
||||||
COMPONENTS=( main )
|
COMPONENTS=( main universe )
|
||||||
REPOS=( ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-updates ${UBUNTU_RELEASE}-security )
|
REPOS=( ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-updates ${UBUNTU_RELEASE}-security )
|
||||||
|
|
||||||
# Create repository mirrors if they don't exist
|
# Create repository mirrors if they don't exist
|
||||||
|
|
Loading…
Reference in New Issue