From 49346f3cd4efcb1a9ffca4f6fd4eb33fe52fb493 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 14 Feb 2016 18:00:10 +0100 Subject: 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. --- pkglists/plasma5.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkglists/plasma5.conf') diff --git a/pkglists/plasma5.conf b/pkglists/plasma5.conf index 05904a9..49e51ef 100644 --- a/pkglists/plasma5.conf +++ b/pkglists/plasma5.conf @@ -1,4 +1,8 @@ -SL_REPO="/mnt/auto/sox/data/slackware/ktown/${SL_VERSION}/testing/${SL_ARCH}" +# 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-kde/${SL_VERSION}/5/${SL_ARCH}" +SL_REPO="/mnt/auto/sox/data/slackware/ktown/${SL_VERSION}/5/${SL_ARCH}" # Package root directory: SL_PKGROOT=${SL_REPO} -- cgit v1.2.3