aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-01-11 18:56:48 +0100
committer Eric Hameleers <alien@slackware.com>2023-01-11 18:56:48 +0100
commit72408e834633006d83451e62ace723cbd3ceb3c6 (patch)
tree323411533e41c387f2ad956dc74eb24394463c1e
parentee43ab3984a7fcd36fa10f00585e3f649c3f86cf (diff)
downloadliveslak-72408e834633006d83451e62ace723cbd3ceb3c6.tar.gz
liveslak-72408e834633006d83451e62ace723cbd3ceb3c6.tar.xz
When SL_VERSION equals 'current' it will never match a numerical value
So we do a string comparison instead.
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 4b1d379..a27d5c3 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -200,7 +200,7 @@ SL_REPO_URL=${SL_REPO_URL:-"rsync.osuosl.org::slackware"}
DEF_SL_REPO_URL=${SL_REPO_URL}
# List of Slackware package series - each will become a squashfs module:
-if [ $(echo ${SL_VERSION}|cut -d. -f1) -eq 14 ]; then
+if [ "$(echo ${SL_VERSION}|cut -d. -f1)" == "14" ]; then
# Slackware up and until 14.2 has KDE4 which includes the 'kdei' package set:
SEQ_SLACKWARE="tagfile:a,ap,d,e,f,k,kde,kdei,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra"
else