From 6a949450072be0ba95553464bc03aff950903bf2 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 23 Apr 2019 15:36:33 +0200 Subject: Make the '-m' commandline switch more universal The '-m' parameter of the 'make_slackware_live.sh' script allows you to add more packages to the Live ISO without modifying any of the script's "SEQ_*" package sequence variables. However, the script would prepend "pkglist:" to the argument value, which is redundant since 'pkglist' is the default anyway. By removing this prepend string we can now allow a syntax like this: "-m local:foo" to add a series of packages in the subdirectory 'foo' of the 'local' (or 'local64') directory more easily. --- 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 f8cd8b7..e438bb3 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1166,7 +1166,7 @@ esac # Do we need to create/include additional module(s) defined by a pkglist: if [ -n "$SEQ_ADDMOD" ]; then echo "-- Adding ${SEQ_ADDMOD}." - MSEQ="${MSEQ} pkglist:${SEQ_ADDMOD}" + MSEQ="${MSEQ} ${SEQ_ADDMOD}" fi # Do we need to include multilib? -- cgit v1.2.3