buildiso: show smb_workgroup if not empty

This commit is contained in:
udeved 2016-08-22 13:14:28 +02:00
parent 397e9f0f64
commit cf9cfdda8e
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,7 @@ show_profile(){
msg2 "password: %s" "${password}"
msg2 "login_shell: %s" "${login_shell}"
msg2 "addgroups: %s" "${addgroups}"
[[ -n ${smb_workgroup} ]] && msg2 "smb_workgroup: %s" "${smb_workgroup}"
if [[ ${initsys} == 'systemd' ]];then
msg2 "enable_systemd: %s" "${enable_systemd[*]}"

View file

@ -457,7 +457,7 @@ load_profile_config(){
[[ -z ${netgroups} ]] && netgroups="https://raw.githubusercontent.com/manjaro/manjaro-tools-iso-profiles/master/shared/netinstall"
[[ -z ${smb_workgroup} ]] && smb_workgroup='Manjaro'
[[ -z ${smb_workgroup} ]] && smb_workgroup=''
check_profile_vars