Allow inclusion of packages, too.

ubuntu/precise
LaMont Jones 20 years ago
parent 2a556e0689
commit 38031ce351

@ -57,12 +57,14 @@ USZ="400*1024" # 400MB for the user
UINUM="" # blank (default), or number of inodes desired. UINUM="" # blank (default), or number of inodes desired.
STE=hoary STE=hoary
EXCLUDE="" EXCLUDE=""
LIST=""
while getopts :e:i:ms:: name; do case $name in while getopts :e:i:I:mS:: name; do case $name in
e) EXCLUDE="$EXCLUDE $OPTARG";; e) EXCLUDE="$EXCLUDE $OPTARG";;
i) UINUM=$(sanitize int "$OPTARG");; i) LIST="$LIST $OPTARG";;
I) UINUM=$(sanitize int "$OPTARG");;
m) MIRROR=$(sanitize url "$OPTARG");; m) MIRROR=$(sanitize url "$OPTARG");;
s) USZ=$(sanitize int "$OPTARG");; S) USZ=$(sanitize int "$OPTARG");;
\?) echo bad usage >&2; exit 2;; \?) echo bad usage >&2; exit 2;;
\:) echo missing argument >&2; exit 2;; \:) echo missing argument >&2; exit 2;;
esac; done; esac; done;
@ -104,10 +106,10 @@ Flags: seen
case "$FS" in case "$FS" in
ubuntu) ubuntu)
LIST="ubuntu-base ubuntu-desktop ubuntu-live" LIST="$LIST ubuntu-base ubuntu-desktop ubuntu-live"
;; ;;
kubuntu) kubuntu)
LIST="ubuntu-base kubuntu-desktop ubuntu-live" LIST="$LIST ubuntu-base kubuntu-desktop ubuntu-live"
;; ;;
esac esac
LIST="$LIST xresprobe laptop-detect" LIST="$LIST xresprobe laptop-detect"

Loading…
Cancel
Save