diff options
-rwxr-xr-x | setup-box | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -33,6 +33,7 @@ $(basename $0) $VERSION - Setup a variety Environments Usage: $(basename $0) option [args] Options: + -b Setup Alpine Linux -d Select a desktop environment: mate openbox @@ -318,8 +319,10 @@ main () { search_files # If there is any argument... let's work - while getopts "d:s:g:u:hGSvV" opt ; do + while getopts "bd:s:g:u:hGSvV" opt ; do case $opt in + b) + setup_alpine="1";; d) create_user="1" search_desktop "$OPTARG";; @@ -346,6 +349,9 @@ main () { done shift `expr $OPTIND - 1` + if [ "$setup_alpine" == "1" ]; then + /sbin/setup-alpine + fi # Packages to be installed (including services) optimize_pack "$final_pack" |