From 2a032d97bc390903a6bafe0a62136a594dea3829 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 4 Feb 2022 15:01:18 +0100 Subject: Fix "-s" parameter to make_slackware_live.sh Thanks to GigglesUK for pointing it out. --- make_slackware_live.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 8b2488f..9ee3ef6 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -438,7 +438,9 @@ function install_pkgs() { fi if [ "${SL_REPO}" = "${DEF_SL_REPO}" ]; then - # We need only one release from the Slackware package mirror; + # SL_REPO was not re-defined in ${PKGCONF}, + # so we are dealing with an actual Slackware repository rootdir. + # We select only the requested release in the Slackware package mirror; # This must *not* end with a '/' : SELECTION="${DISTRO}${DIRSUFFIX}-${SL_VERSION}" else @@ -1294,6 +1296,7 @@ do r ) REFRESH="${OPTARG}" ;; s ) SL_REPO="${OPTARG}" + DEF_SL_REPO="${SL_REPO}" ;; t ) TRIM="${OPTARG}" ;; -- cgit v1.2.3