summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan <bryan@turbojets.net>2016-02-10 22:03:56 -0800
committerBryan <bryan@turbojets.net>2016-02-10 22:16:34 -0800
commit8160dec7936b8ebca386f333e5673ffc4de0709c (patch)
treea02d1a9cc868f9fe80583d12993a65c6d07cfbf6
parent526b418ae29a1f368b7379343fb721c9244fc26b (diff)
add universe component to repo update script
mirroring all open source components makes the mirror more useful
-rwxr-xr-xassets/update_mirror.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/update_mirror.sh b/assets/update_mirror.sh
index 4018e4c..accdc45 100755
--- a/assets/update_mirror.sh
+++ b/assets/update_mirror.sh
@@ -4,15 +4,15 @@ set -e
4# Automate the initial creation and update of an Ubuntu package mirror in aptly 4# Automate the initial creation and update of an Ubuntu package mirror in aptly
5 5
6# The variables (as set below) will create a mirror of the Ubuntu Trusty repo 6# The variables (as set below) will create a mirror of the Ubuntu Trusty repo
7# with just the main component, you can add other components like restricted 7# with the main & universe components, you can add other components like restricted
8# universe etc by adding to the array (separated by spaces). 8# multiverse etc by adding to the array (separated by spaces).
9 9
10# For more detail about each of the variables below refer to: 10# For more detail about each of the variables below refer to:
11# https://help.ubuntu.com/community/Repositories/CommandLine 11# https://help.ubuntu.com/community/Repositories/CommandLine
12 12
13UBUNTU_RELEASE=trusty 13UBUNTU_RELEASE=trusty
14UPSTREAM_URL="http://archive.ubuntu.com/ubuntu/" 14UPSTREAM_URL="http://archive.ubuntu.com/ubuntu/"
15COMPONENTS=( main ) 15COMPONENTS=( main universe )
16REPOS=( ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-updates ${UBUNTU_RELEASE}-security ) 16REPOS=( ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-updates ${UBUNTU_RELEASE}-security )
17 17
18# Create repository mirrors if they don't exist 18# Create repository mirrors if they don't exist