diff options
author | 2023-01-11 18:56:48 +0100 | |
---|---|---|
committer | 2023-01-11 18:56:48 +0100 | |
commit | 72408e834633006d83451e62ace723cbd3ceb3c6 (patch) | |
tree | 323411533e41c387f2ad956dc74eb24394463c1e | |
parent | ee43ab3984a7fcd36fa10f00585e3f649c3f86cf (diff) | |
download | liveslak-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.
Diffstat (limited to '')
-rwxr-xr-x | make_slackware_live.sh | 2 |
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 |