Skip to content

Commit

Permalink
use only string arguments for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 21, 2017
1 parent 252bad2 commit 1f2ab43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions startup/YaST2.call
Expand Up @@ -206,7 +206,7 @@ function check_x11 () {
# NCURSES mode as fallback ?
# ---
log "\tX-Server couldn't be started, falling back to ncurses"
Y2_MODE_FLAGS='("text_fallback")'
Y2_MODE_FLAGS='(text_fallback)'
SELECTED_MEDIUM="NCURSES"
prepare_for_ncurses
Y2_MODE=ncurses
Expand Down Expand Up @@ -331,8 +331,9 @@ function start_yast () {
if [ "$Y2GDB" != "1" ]; then
$OPT_FBITERM y2base \
"$Y2_MODULE_NAME" \
-S \
$Y2_MODE_FLAGS \
$Y2_MODULE_ARGS \
"$Y2_MODULE_ARGS" \
$Y2_MODE \
$Y2_UI_ARGS
Y2_EXIT_CODE=$?
Expand Down Expand Up @@ -653,7 +654,7 @@ esac
# 8) Call YaST2
#---------------------------------------------
Y2_MODULE_NAME=${1:-installation}; shift
Y2_MODULE_ARGS=\(\"$*\"\)
Y2_MODULE_ARGS=\($*\)
start_yast

#=============================================
Expand Down

0 comments on commit 1f2ab43

Please sign in to comment.