summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-02-04 15:01:18 +0100
committer Eric Hameleers <alien@slackware.com>2022-02-04 15:01:18 +0100
commit2a032d97bc390903a6bafe0a62136a594dea3829 (patch)
tree43b5f05fbadabefa3928c1c5335816b3b09a5b39
parented371d6e63abb17fde04fa2c1f15c007d4a8c284 (diff)
downloadliveslak-2a032d97bc390903a6bafe0a62136a594dea3829.tar.gz
liveslak-2a032d97bc390903a6bafe0a62136a594dea3829.tar.xz
Fix "-s" parameter to make_slackware_live.sh
Thanks to GigglesUK for pointing it out.
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh5
1 files changed, 4 insertions, 1 deletions
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}"
;;