From 15332b494a9b12124e9d9ad6a4fe3342b1fec700 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 16 Feb 2021 16:43:10 +0100 Subject: Slackpkg+: use temporary URL for version working with Slackware 15.0_alpha1 --- pkglists/slackpkgplus.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkglists/slackpkgplus.conf b/pkglists/slackpkgplus.conf index 911a664..a0599fe 100644 --- a/pkglists/slackpkgplus.conf +++ b/pkglists/slackpkgplus.conf @@ -2,8 +2,14 @@ # or empty directory, then the content of 'SL_REPO_URL' will be rsync-ed # to the local directory 'SL_REPO'. -SL_REPO_URL="rsync://bear.alienbase.nl/mirrors/slackpkgplus/" -SL_REPO="/var/cache/liveslak/slackpkgplus" +if [ "${SL_VERSION}" == "current" ]; then + SPPSUFF="15" +else + SPPSUFF="" +fi + +SL_REPO_URL="rsync://slackware.nl/mirrors/slackpkgplus${SPPSUFF}/" +SL_REPO="/var/cache/liveslak/slackpkgplus${SPPSUFF}" # Package root directory: SL_PKGROOT=${SL_REPO} -- cgit v1.2.3