summaryrefslogtreecommitdiffstats
path: root/pkglists/alien.conf
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-02-14 18:00:10 +0100
committer Eric Hameleers <alien@slackware.com>2016-02-14 18:00:10 +0100
commit49346f3cd4efcb1a9ffca4f6fd4eb33fe52fb493 (patch)
tree93058fb189b7305b8fd549edc917ced297f16359 /pkglists/alien.conf
parent4ca61472d6126b5118466faf36ecf223895982b2 (diff)
downloadliveslak-49346f3cd4efcb1a9ffca4f6fd4eb33fe52fb493.tar.gz
liveslak-49346f3cd4efcb1a9ffca4f6fd4eb33fe52fb493.tar.xz
Download packages from rsync mirror if local repository is empty.
This is for package lists in "pkglist/" subdirectory where a 3rd party repository is the package source. If the pkglists/*.conf file defines a rsync mirror URL in variable SL_REPO_URL, then instead of aborting with an error when the local repository directory (SL_REPO) is empty or non-existing, the packages will be downloaded from that mirror before continuing.
Diffstat (limited to '')
-rw-r--r--pkglists/alien.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkglists/alien.conf b/pkglists/alien.conf
index df43eb3..4b527b2 100644
--- a/pkglists/alien.conf
+++ b/pkglists/alien.conf
@@ -1,3 +1,7 @@
+# If 'SL_REPO_URL' is a rsync:// URL and 'SL_REPO' points to a non-existent
+# or empty directory, then the content of 'SL_REPO_URL' will be rsync-ed
+# to the local directory 'SL_REPO'.
+SL_REPO_URL="rsync://slackware.uk/people/alien/sbrepos/${SL_VERSION}/${SL_ARCH}"
SL_REPO="/mnt/auto/sox/sbrepos/${SL_VERSION}/${SL_ARCH}"
# Package root directory: