From 72408e834633006d83451e62ace723cbd3ceb3c6 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 11 Jan 2023 18:56:48 +0100 Subject: When SL_VERSION equals 'current' it will never match a numerical value So we do a string comparison instead. --- make_slackware_live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3