diff --git a/bin/buildiso.in b/bin/buildiso.in index 24427aa..186ee13 100755 --- a/bin/buildiso.in +++ b/bin/buildiso.in @@ -148,7 +148,7 @@ usage() { orig_argv=("$@") -opts='p:a:b:r:t:k:g:d:cfzxmvqhilon' +opts='p:a:b:r:t:k:g:d:cfzxmvqhilo' while getopts "${opts}" arg; do case "${arg}" in @@ -169,7 +169,7 @@ while getopts "${opts}" arg; do x) images_only=true ;; z) iso_only=true ;; l) permalink=true ;; - n) office_installer=false ;; + o) office_installer=true ;; h|?) usage 0 ;; *) echo "invalid argument '${arg}'"; usage 1 ;; esac diff --git a/lib/util.sh b/lib/util.sh index 73d40fe..ca5619d 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -462,8 +462,6 @@ load_profile_config(){ [[ -z ${office_installer} ]] && office_installer="false" - [[ -z ${permalink} ]] && permalink="false" - return 0 } @@ -511,7 +509,6 @@ reset_profile(){ unset extra unset full_iso unset office_installer - unset permalink } check_profile(){